[pkg-php-pear] Bug#954955: phpunit-comparator: FTBFS from test failure due to warning about typo in test case

Bryce Harrington bryce.harrington at canonical.com
Wed Mar 25 19:17:26 GMT 2020


Package: phpunit-comparator
Version: 3.0.2-1
Severity: normal

Dear Maintainer,

britney, debci, and ubuntu launchpad are seeing test failures while
building this package against PHP 7.4.

  "PHP Warning:  Creating default object from empty value in /usr/local/src/comparator/tests/MockObjectComparatorTest.php on line 95"

This is upstream bug #80:

  https://github.com/sebastianbergmann/comparator/issues/80

A trivial patch to fix the issue is attached to the bug report, and is
included in Ubuntu's phpunit-comparator version 3.0.2-1ubuntu1

  https://launchpad.net/ubuntu/+source/phpunit-comparator/3.0.2-1ubuntu1

This patch is applicable to Debian's package as well.

Bryce

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal
  APT policy: (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-18-generic (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-php-pear mailing list