[php-maint] Bug#595344: php-xml-serializer uses deprecated return value of new by reference

Thomas Goirand zigo at debian.org
Fri Sep 3 09:21:54 UTC 2010


Package: php-xml-serializer
Version: 0.20.0-2
Severity: grave

Hi,

When using the package with PHP 5.3.2 that is currently in Squeeze and
SID, there are 3 big warnings:

PHP Deprecated:  Assigning the return value of new by reference is
deprecated in /usr/share/php/XML/Unserializer.php on line 801

PHP Deprecated:  Assigning the return value of new by reference is
deprecated in /usr/share/php/XML/Unserializer.php on line 804

PHP Deprecated:  Assigning the return value of new by reference is
deprecated in /usr/share/php/XML/Unserializer.php on line 974

As php-xml-serializer can be used to produce an XML document, having
these warnings could render the produced XML documents as totally broken,
which is what pushed me to set the seriousness of this bug to Grave (eg:
renders the package unusable for most users). This has to be fixed before
Squeeze is release. I'll try to work on a patch for it, but if you have
more work time available than I do, please fix the package.

Cheers,

Thomas Goirand (zigo)

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the pkg-php-maint mailing list