Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.7.2

Bug #18222 Add __invoke method to PEAR standard
Submitted: 2011-01-25 18:36 UTC
From: alb0 Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.2.2)
PHP Version: 5.3.0 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-01-25 18:36 UTC] alb0 (Rodrigo Arce)
Description: ------------ On PEAR standard you receive this error: Method name "MyClass::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore. You should add invoke to the magic functions names array.

Comments

 [2011-01-31 11:29 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.