[pkg-php-pear] Bug#980565: php-enum: FTBFS with phpunit 9.5

Andreas Beckmann anbe at debian.org
Wed Jan 20 16:15:44 GMT 2021


Package: php-enum
Version: 4.2.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

php-enum/experimental recently started to FTBFS:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/php-enum-4.2.0'
php --define zend.assertions=1 /usr/bin/phpunit
PHPUnit 9.5.0 by Sebastian Bergmann and contributors.

  Warning - The configuration file did not pass validation!
  The following problems have been detected:

  Line 15:
  - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed.
  - Element 'phpunit', attribute 'beStrictAboutTestSize': The attribute 'beStrictAboutTestSize' is not allowed.

  Line 19:
  - Element 'filter': This element is not expected.

  Test results may not be as expected.


....................EE...E.....................................  63 / 172 ( 36%)
............................................................... 126 / 172 ( 73%)
..............................................                  172 / 172 (100%)

Time: 00:00.014, Memory: 6.00 MB

There were 3 errors:

1) MabeEnumTest\EnumSerializableTraitTest::testSerializeSerializableEnum
Error: Call to undefined method MabeEnumTest\EnumSerializableTraitTest::assertInternalType()

/build/php-enum-4.2.0/tests/MabeEnumTest/EnumSerializableTraitTest.php:26

2) MabeEnumTest\EnumSerializableTraitTest::testUnserializeFirstWillHoldTheSameInstance
Error: Call to undefined method MabeEnumTest\EnumSerializableTraitTest::assertInternalType()

/build/php-enum-4.2.0/tests/MabeEnumTest/EnumSerializableTraitTest.php:35

3) MabeEnumTest\EnumSerializableTraitTest::testInheritence
Error: Call to undefined method MabeEnumTest\EnumSerializableTraitTest::assertInternalType()

/build/php-enum-4.2.0/tests/MabeEnumTest/EnumSerializableTraitTest.php:77

ERRORS!
Tests: 172, Assertions: 3440, Errors: 3.
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 2
make[1]: Leaving directory '/build/php-enum-4.2.0'


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-enum_4.2.0-1.log.gz
Type: application/gzip
Size: 14038 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20210120/3d223bc2/attachment.gz>


More information about the pkg-php-pear mailing list