Bug #19771 [WFx]: Deprecated notices under PHP 5.3
| From: | jan at horde dot org | Date: | Fri, 04 Jan 2013 09:38:10 +0000 |
| Subject: | Bug #19771 [WFx]: Deprecated notices under PHP 5.3 | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9452@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19771&edit=1
ID: 19771
Updated by: jan@horde.org
Reported By: kontakt at contentcontrol-berlin dot de
Summary: Deprecated notices under PHP 5.3
Status: Wont fix
Type: Bug
Package: Text_Diff
Operating System: Debian Stable
Package Version: 1.1.1
PHP Version: 5.3.3
Roadmap Versions:
New Comment:
*Which* errors?
I updated the package status.
Previous Comments:
------------------------------------------------------------------------
[2013-01-03 19:07:45] ctrl_bln
Well, I'm installing PEAR packages via composer, which gives errors for
the pear.horde.org channel. But I'm not entirely sure if they are
related to the channel, or generic composer problems.
In any case, if this package is no longer maintained, could you update
the status on pear.php.net? Right now it says
This package has been superseded, but is still maintained for bugs and
security fixes
on https://pear.php.net/package/Text_Diff
------------------------------------------------------------------------
[2013-01-03 18:59:25] yunosh
-Status: Open
+Status: Wont fix
Which composer issues? The pear.php.net version is not supported
anymore.
------------------------------------------------------------------------
[2013-01-03 18:17:40] ctrl_bln
Description:
------------
Under php5.3, I get a lot of error messages like this:
Assigning the return value of new by reference is deprecated
~/vendor/pear-pear/Text_Diff/Text/Diff.php:383
According to the CVS log, the bug has been fixed more than three years
ago:
http://git.horde.org/diff.php/framework/Text_Diff/Diff.php?rt=horde&r1=1.29
but this commit didn't end up in the pear.php.net channel, so release
1.1.1 still exhibits the problem.
It would be nice if you could do a new release to fix this. I tried
switching to the horde pear channel, but this didn't work because of
some composer issues, so it looks like I'm stuck with the pear.php.net
version for a while
Test script:
---------------
$lines1 = '';
$lines2 = '';
$diff = new Text_Diff($lines1, $lines2);
Expected result:
----------------
no output
Actual result:
--------------
Assigning the return value of new by reference is deprecated
~/vendor/pear-pear/Text_Diff/Text/Diff.php:383
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19771&edit=1