[pkg-php-pear] Bug#873198: php-doctrine-cache-bundle FTBFS: test failures

Adrian Bunk bunk at debian.org
Fri Aug 25 13:13:47 UTC 2017


Source: php-doctrine-cache-bundle
Version: 1.3.0-4
Severity: serious
Tags: buster sid

Some recent change in unstable makes php-doctrine-cache-bundle FTBFS:

https://tests.reproducible-builds.org/debian/history/php-doctrine-cache-bundle.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/php-doctrine-cache-bundle.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/php-doctrine-cache-bundle-1.3.0'
phpunit --exclude-group Predis
PHPUnit 5.4.6 by Sebastian Bergmann and contributors.

..........................................WWWWWW.SSSSESE.         57 / 57 (100%)

Time: 432 ms, Memory: 14.00MB

There were 2 errors:

1) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\PhpFileCacheTest::testCacheDriver
ParseError: syntax error, unexpected '?'

/usr/share/php/Doctrine/Common/Cache/PhpFileCache.php:114
/usr/share/php/Symfony/Component/DependencyInjection/ContainerBuilder.php:929
/usr/share/php/Symfony/Component/DependencyInjection/ContainerBuilder.php:475
/build/1st/php-doctrine-cache-bundle-1.3.0/Tests/Functional/PhpFileCacheTest.php:35
/build/1st/php-doctrine-cache-bundle-1.3.0/Tests/Functional/BaseCacheTest.php:37

2) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Sqlite3CacheTest::testCacheDriver
ParseError: syntax error, unexpected '?'

/usr/share/php/Doctrine/Common/Cache/SQLite3Cache.php:166
/build/1st/php-doctrine-cache-bundle-1.3.0/Tests/Functional/Sqlite3CacheTest.php:40

--

There were 6 warnings:

1) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Command\ContainsCommandTest::testContainsFalse
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

2) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Command\ContainsCommandTest::testContainsTrue
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

3) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Command\DeleteCommandTest::testDeleteSuccess
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

4) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Command\DeleteCommandTest::testDeleteAll
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

5) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Command\FlushCommandTest::testFlush
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

6) Doctrine\Bundle\DoctrineCacheBundle\Tests\Functional\Command\StatsCommandTest::testStats
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

ERRORS!
Tests: 57, Assertions: 473, Errors: 2, Warnings: 6, Skipped: 5.
debian/rules:21: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2



More information about the pkg-php-pear mailing list