Source: php-doctrine-collections
Version: 2.1.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-doctrine-collections was found to FTBFS.

To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --bootstrap vendor/autoload.php
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> D........................................SSSSSS................  63 / 236 ( 
> 26%)
> ..................S............................................ 126 / 236 ( 
> 53%)
> ............................................................... 189 / 236 ( 
> 80%)
> ...............................................                 236 / 236 
> (100%)
> 
> Time: 00:00.031, Memory: 10.00 MB
> 
> There were 2 PHPUnit test runner warnings:
> 
> 1) Class Doctrine\Tests\Common\Collections\BaseArrayCollectionTest declared 
> in /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php is 
> abstract
> 
> 2) Class Doctrine\Tests\Common\Collections\BaseCollectionTest declared in 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseCollectionTest.php is abstract
> 
> --
> 
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your 
> XML configuration using "--migrate-configuration"!
> 
> --
> 
> 23 tests triggered 23 PHPUnit deprecations:
> 
> 1) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testToArray
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:42
> 
> 2) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testFirst
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:54
> 
> 3) Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testLast
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:65
> 
> 4) Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testKey
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:76
> 
> 5) Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testNext
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:93
> 
> 6) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testCurrent
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:119
> 
> 7) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testGetKeys
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:136
> 
> 8) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testGetValues
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:148
> 
> 9) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testCount
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:160
> 
> 10) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testIterator
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:172
> 
> 11) 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::testMatchingWithSlicingPreserveKeys
> Data Provider method 
> Doctrine\Tests\Common\Collections\AbstractLazyArrayCollectionTest::provideSlices()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:345
> 
> 12) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testToArray
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:42
> 
> 13) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testFirst
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:54
> 
> 14) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testLast
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:65
> 
> 15) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testKey
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:76
> 
> 16) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testNext
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:93
> 
> 17) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testCurrent
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:119
> 
> 18) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testGetKeys
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:136
> 
> 19) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testGetValues
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:148
> 
> 20) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testCount
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:160
> 
> 21) Doctrine\Tests\Common\Collections\ArrayCollectionTest::testIterator
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideDifferentElements()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:172
> 
> 22) 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::testMatchingWithSlicingPreserveKeys
> Data Provider method 
> Doctrine\Tests\Common\Collections\ArrayCollectionTest::provideSlices() is not 
> static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/BaseArrayCollectionTest.php:345
> 
> 23) 
> Doctrine\Tests\Common\Collections\Expr\CompositeExpressionTest::testExceptions
> Data Provider method 
> Doctrine\Tests\Common\Collections\Expr\CompositeExpressionTest::invalidDataProvider()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Common/Collections/Expr/CompositeExpressionTest.php:32
> 
> WARNINGS!
> Tests: 236, Assertions: 525, Warnings: 2, Deprecations: 24, Skipped: 7.
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-doctrine-collections/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro

Reply via email to