Bug #19420 [Com]: PEAR::getStaticProperty() should not be called statically
| From: | pavel.vrany@gmail.com | Date: | Tue, 16 Oct 2012 23:53:17 +0000 |
| Subject: | Bug #19420 [Com]: PEAR::getStaticProperty() should not be called statically | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9195@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19420&edit=1
ID: 19420
Comment by: pavel.vrany@gmail.com
Reported By: contact at rudloff dot pro
Summary: PEAR::getStaticProperty() should not be called
statically
Status: Closed
Type: Bug
Package: HTML_BBCodeParser
Operating System: Ubuntu
Package Version: 1.2.3
PHP Version: 5.3.10
Assigned To: doconnor
Roadmap Versions:
New Comment:
IMO better solution is to replace PEAR::getStaticProperty(..) to
PEAR5::getStaticProperty(..).
The warnings also exists in some filters: Email, Images, Links and
Lists.
Previous Comments:
------------------------------------------------------------------------
[2012-05-19 07:04:02] doconnor
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
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.
------------------------------------------------------------------------
[2012-05-15 15:26:18] rudloff
Added #patch
bug:19420;patch:patch-BBCodeParser-Filter.diff;revision:1337091978;.
------------------------------------------------------------------------
[2012-05-15 15:26:00] rudloff
Added #patch
bug:19420;patch:patch-BBCodeParser.php.diff;revision:1337091960;.
------------------------------------------------------------------------
[2012-05-15 15:23:33] rudloff
Description:
------------
HTML_BBCodeParser triggers an error in strict mode.
Actual result:
--------------
Strict Standards: Non-static method PEAR::getStaticProperty() should not
be called statically, assuming $this from incompatible context in
/usr/share/php/HTML/BBCodeParser.php on line 169
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19420&edit=1