[pkg-php-pear] Bug#1002020: php-proxy-manager: Failing testsuite with PHP 8.1

David Prévot taffit at debian.org
Mon Dec 20 15:20:31 GMT 2021


Package: php-proxy-manager
Version: 2.11.1+1.0.3-1
Severity: important
Control: block 976811 by -1
Control: found -1 2.11.1+1.0.5-1

Hi,

The testsuite is currently failing with PHP 8:

(see
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/php-proxy-manager/17524886/log.gz
or more recent)

[…]
There were 9 failures:

1) /tmp/autopkgtest-lxc.bnfk1eqk/downtmp/build.0sn/src/tests/language-feature-scripts/access-interceptor-scope-localizer-serialized-class-private-property-isset.phpt
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'bool(false)'
+'Deprecated: Kitchen implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in Standard input code on line 5\n
+\n
+Deprecated: ProxyManagerGeneratedProxy\__PM__\Kitchen\Generated3e0dd340cc53a6b11dc36d7d0976dff6 implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /usr/share/php/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code on line 3\n
+bool(false)'

/tmp/autopkgtest-lxc.bnfk1eqk/downtmp/build.0sn/src/tests/language-feature-scripts/access-interceptor-scope-localizer-serialized-class-private-property-isset.phpt:30

2) /tmp/autopkgtest-lxc.bnfk1eqk/downtmp/build.0sn/src/tests/language-feature-scripts/access-interceptor-scope-localizer-serialized-class-private-property-read.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-%SFatal error:%sCannot access private property %s::$sweets in %a
+Deprecated: Kitchen implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in Standard input code on line 5
+
+Deprecated: ProxyManagerGeneratedProxy\__PM__\Kitchen\Generated3e0dd340cc53a6b11dc36d7d0976dff6 implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /usr/share/php/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code on line 3
+
+Fatal error: Uncaught Error: Cannot access private property Kitchen::$sweets in /usr/share/php/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code:155
+Stack trace:
+#0 /usr/share/php/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code(160): ProxyManager\Stub\EmptyClassStub->ProxyManagerGeneratedProxy\__PM__\Kitchen\{closure}()
+#1 Standard input code(24): ProxyManagerGeneratedProxy\__PM__\Kitchen\Generated3e0dd340cc53a6b11dc36d7d0976dff6->__get()
+#2 {main}
+  thrown in /usr/share/php/ProxyManager/GeneratorStrategy/EvaluatingGeneratorStrategy.php(54) : eval()'d code on line 155

/tmp/autopkgtest-lxc.bnfk1eqk/downtmp/build.0sn/src/tests/language-feature-scripts/access-interceptor-scope-localizer-serialized-class-private-property-read.phpt:30
[…]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20211220/924dde43/attachment.sig>


More information about the pkg-php-pear mailing list