FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17980&edit=1

ID: 17980
Updated by: jaromir.dolecek@skype.net
Reported By: jaromir dot dolecek at skype dot net
Summary: Static calls to Validate::uri() trigger E_STRICT
Status: Open
-Type: Feature/Change Request
+Type: Bug
Package: Services_Facebook
Operating System: Irrelevant
Package Version: 0.2.14
PHP Version: 5.3.3
Roadmap Versions:
New Comment:

-Type: Feature/Change Request
+Type: Bug



Previous Comments:
------------------------------------------------------------------------

[2010-10-20 13:32:32] jdolecek

Added #patch
bug:17980;patch:Services_Facebook_Validate.diff;revision:1287581552;.

------------------------------------------------------------------------

[2010-10-20 13:31:17] jdolecek

Description:
------------
Methods in Validate package are not marked as static, so
calling them statically triggers an E_STRICT warning:

Non-static method Validate::uri() should not be called
statically, assuming $this from incompatible context

I reported bug to Validate guys regarding this as #17975, but
they generally appear to not prefer the static approach and
prefer if the functions wouldn't be called statically.

So I propose this change to the Services_Facebook codebase,
which also fixes the problem.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 20, '10 at 12:36p
activeOct 20, '10 at 12:36p
posts1
users1
websitepear.php.net

1 user in discussion

Jaromir Dolecek: 1 post

People

Translate

site design / logo © 2021 Grokbase