Source: php-doctrine-inflector
Version: 2.0.10-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
php-doctrine-inflector was found to fail to build with this new phpunit version.

To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --include-path lib --bootstrap vendor/autoload.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> ............................................                      44 / 44 
> (100%)
> 
> Time: 00:00.017, Memory: 10.00 MB
> 
> There were 18 PHPUnit errors:
> 
> 1) Doctrine\Tests\Inflector\InflectorFunctionalTest::testTableize
> The data provider specified for 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::testTableize is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::dataStringsTableize() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/InflectorFunctionalTest.php:30
> 
> 2) Doctrine\Tests\Inflector\InflectorFunctionalTest::testClassify
> The data provider specified for 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::testClassify is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::dataStringsClassify() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/InflectorFunctionalTest.php:51
> 
> 3) Doctrine\Tests\Inflector\InflectorFunctionalTest::testCamelize
> The data provider specified for 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::testCamelize is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::dataStringsCamelize() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/InflectorFunctionalTest.php:75
> 
> 4) Doctrine\Tests\Inflector\InflectorTest::testUrlize
> The data provider specified for 
> Doctrine\Tests\Inflector\InflectorTest::testUrlize is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\InflectorTest::dataStringsUrlize() is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/InflectorTest.php:66
> 
> 5) 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testInflectingSingulars
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testInflectingSingulars
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/English/EnglishFunctionalTest.php:18
> 
> 6) 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testInflectingPlurals
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testInflectingPlurals
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/English/EnglishFunctionalTest.php:28
> 
> 7) 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testSingularsWhenSingularizedShouldBeUninflected
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testSingularsWhenSingularizedShouldBeUninflected
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::dataSingularsUninflectedWhenSingularized()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/English/EnglishFunctionalTest.php:407
> 
> 8) 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testPluralsWhenPluralizedShouldBeUninflected
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testPluralsWhenPluralizedShouldBeUninflected
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::dataPluralUninflectedWhenPluralized()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/English/EnglishFunctionalTest.php:431
> 
> 9) 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::testInflectingSingulars
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::testInflectingSingulars
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::dataSampleWords() 
> is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/French/FrenchFunctionalTest.php:18
> 
> 10) 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::testInflectingPlurals
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::testInflectingPlurals
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::dataSampleWords() 
> is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/French/FrenchFunctionalTest.php:28
> 
> 11) 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::testInflectingSingulars
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::testInflectingSingulars
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/NorwegianBokmal/NorwegianBokmalFunctionalTest.php:18
> 
> 12) 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::testInflectingPlurals
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::testInflectingPlurals
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/NorwegianBokmal/NorwegianBokmalFunctionalTest.php:28
> 
> 13) 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::testInflectingSingulars
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::testInflectingSingulars
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/Portuguese/PortugueseFunctionalTest.php:18
> 
> 14) 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::testInflectingPlurals
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::testInflectingPlurals
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/Portuguese/PortugueseFunctionalTest.php:28
> 
> 15) 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::testInflectingSingulars
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::testInflectingSingulars
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/Spanish/SpanishFunctionalTest.php:18
> 
> 16) 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::testInflectingPlurals
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::testInflectingPlurals
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/Spanish/SpanishFunctionalTest.php:28
> 
> 17) 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::testInflectingSingulars
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::testInflectingSingulars
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/Turkish/TurkishFunctionalTest.php:18
> 
> 18) 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::testInflectingPlurals
> The data provider specified for 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::testInflectingPlurals
>  is invalid
> Data Provider method 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::dataSampleWords()
>  is not static
> 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/Turkish/TurkishFunctionalTest.php:28
> 
> --
> 
> There were 7 PHPUnit test runner warnings:
> 
> 1) No tests found in class 
> "Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest".
> 
> 2) No tests found in class 
> "Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest".
> 
> 3) Class Doctrine\Tests\Inflector\Rules\LanguageFunctionalTest declared in 
> /<<PKGBUILDDIR>>/tests/Doctrine/Tests/Inflector/Rules/LanguageFunctionalTest.php
>  is abstract
> 
> 4) No tests found in class 
> "Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest".
> 
> 5) No tests found in class 
> "Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest".
> 
> 6) No tests found in class 
> "Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest".
> 
> 7) No tests found in class 
> "Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest".
> 
> --
> 
> There were 20 PHPUnit test runner deprecations:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your 
> XML configuration using "--migrate-configuration"!
> 
> 2) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\InflectorFactoryTest::testCreateForLanguageWithCustomLanguage().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 3) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::testTableize(). Metadata in 
> doc-comments is deprecated and will no longer be supported in PHPUnit 12. 
> Update your test code to use attributes instead.
> 
> 4) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::testClassify(). Metadata in 
> doc-comments is deprecated and will no longer be supported in PHPUnit 12. 
> Update your test code to use attributes instead.
> 
> 5) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\InflectorFunctionalTest::testCamelize(). Metadata in 
> doc-comments is deprecated and will no longer be supported in PHPUnit 12. 
> Update your test code to use attributes instead.
> 
> 6) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\InflectorTest::testUrlize(). Metadata in 
> doc-comments is deprecated and will no longer be supported in PHPUnit 12. 
> Update your test code to use attributes instead.
> 
> 7) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testInflectingSingulars().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 8) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testInflectingPlurals().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 9) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testSingularsWhenSingularizedShouldBeUninflected().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 10) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\English\EnglishFunctionalTest::testPluralsWhenPluralizedShouldBeUninflected().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 11) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::testInflectingSingulars().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 12) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\French\FrenchFunctionalTest::testInflectingPlurals().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 13) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::testInflectingSingulars().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 14) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\NorwegianBokmal\NorwegianBokmalFunctionalTest::testInflectingPlurals().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 15) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::testInflectingSingulars().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 16) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\Portuguese\PortugueseFunctionalTest::testInflectingPlurals().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 17) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::testInflectingSingulars().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 18) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\Spanish\SpanishFunctionalTest::testInflectingPlurals().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 19) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::testInflectingSingulars().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> 20) Metadata found in doc-comment for method 
> Doctrine\Tests\Inflector\Rules\Turkish\TurkishFunctionalTest::testInflectingPlurals().
>  Metadata in doc-comments is deprecated and will no longer be supported in 
> PHPUnit 12. Update your test code to use attributes instead.
> 
> ERRORS!
> Tests: 44, Assertions: 68, Errors: 18, Warnings: 7, Deprecations: 20.
> make[1]: *** [debian/rules:19: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-doctrine-inflector/php-doctrine-inflector_2.0.10-1+rebuild1714366612_amd64-2024-04-29T04:56:52Z.build

Reply via email to