CakeDC / utils

Utils Plugin for CakePHP

Home Page:http://cakedc.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strict Warning with GravatarHelper::url

Dunhamzzz opened this issue · comments

I've just got back to my project after a month or so off, and after upgrading CakePHP (I think this was the cause), I'm now getting a Strict warning on every page that uses the Gravatar helper:

Declaration of GravatarHelper::url() should be compatible with Helper::url($url = NULL, $full = false)

I'm not 100% sure how you'd want to patch this tbh, possibly use a different name for the method, or just hack the same parameters in?

Thank you @Dunhamzzz I will take a look.

@Dunhamzzz I cannot reproduce it. Can you specify Cake version and which branch are you using?

I am on the master branch with CakePHP v2.2.2

Just realised my dev environment is on PHP 5.4.4, when I switch to 5.3.14 it goes. So really it's not much of an issue bow but definitely something to keep tabs on.

Ok, I have 5.3.8 we will perform more tests over 5.4