[PEAR-BUG] Bug #18663 [WFx]: Strict notice: PEAR::isError() should not be called statically

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=18663&edit=1

 ID:               18663
 Updated by:       [email protected]
 Reported By:      ch at lathspell dot de
 Summary:          Strict notice: PEAR::isError() should not be called
                    statically
 Status:           Wont fix
 Type:             Bug
 Package:          Net_Sieve
 Package Version:  1.3.0
 PHP Version:      5.3.6
 Roadmap Versions: 
 New Comment:

First of all, this is a problem with PEAR, not Net_Sieve, because the
method *is* static, but not declared as one. And this for a simple
reason: it's PHP 4 code. And so is Net_Sieve.


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

[2011-07-13 15:28:15] chammers

But why WontFix? It's barely 1200 lines, including comments. Would it be
so hard to release a version 1.4 that requires PHP5 and adheres to its
stricter standards. 

When developing I usually like to have strict standards turned on and
requirering your Net_Sieve.php floods the log with ugly warnings.

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

[2011-07-13 11:02:44] yunosh

-Status: Open
+Status: Wont fix
Net_Sieve is not E_STRICT safe.

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

[2011-07-13 11:00:14] wegg42g234zh32

Description:
------------
Strict notice at /usr/share/php/Net/Sieve.php on line 1004 (Non-static
method PEAR::isError() should not be called statically, assuming $this
from incompatible context) 

This error is reported for several line numbers (318, 967, 880, 940,
...)

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


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18663&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.