#1152467 matomo-component-decompress: Compatibility with PHP 8.6

#1152467#5
Date:
2026-10-29 16:47:08 UTC
From:
To:
Hi William,

Looking at the last (failed) run of the autopkgtest of
matomo-component-decompress with php8.6 from experimental [1], something
needs to be fixed (or ignored?).

    1: https://ci.debian.net/packages/m/matomo-component-decompress/unstable/armhf/77230105/

With the upcoming transition to PHP 8.6, it would be nice to get those
deprecations fixed, or at least silenced.

Thanks in advance.

Regards,

taffit

P.-S.: pasting the output of my local run un case the previous URL goes
AWOL.

$ phpunit --no-coverage --do-not-cache-result --fail-on-empty-test-suite --bootstrap ./tests-autoload.php
PHPUnit 13.4.5 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.6.0RC3
Configuration: /tmp/matomo-component-decompress-3.0.0/phpunit.xml

F...D..........DD.                                                18 / 18 (100%)

Time: 00:00.027, Memory: 12.00 MB

There was 1 failure:

1) Tests\Matomo\Decompress\BzipTest::testBzipFile
Failed asserting that false is true.

/tmp/matomo-component-decompress-3.0.0/tests/BzipTest.php:21

FAILURES!
Tests: 18, Assertions: 58, Failures: 1, Deprecations: 2, PHPUnit Deprecations: 2.