[pkg-php-pear] Bug#1082464: php-phpspec-prophecy-phpunit: FTBFS with php8.4_8.4.0~beta4-1: make[1]: *** [debian/rules:17: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Sat Sep 21 03:17:52 BST 2024


Source: php-phpspec-prophecy-phpunit
Version: 2.2.0-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: php8.4

Hi,

During a test rebuild, php-phpspec-prophecy-phpunit was found to fail to build with
php8.4 8.4.0~beta4-1 available in experimental.

There are intentions to transition to php8.4 for trixie, please see #1074180.

To reproduce this locally, you need to install php8.4 and php-defaults from
experimental on an unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit
> PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
> 
> FF.FFF                                                              6 / 6 (100%)
> 
> Time: 00:00.259, Memory: 6.00 MB
> 
> There were 5 failures:
> 
> 1) /<<PKGBUILDDIR>>/tests/MockFailure.phpt
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
>  Runtime:       PHP 8.4.0beta4
>  
>  F                                                                   1 / 1 (100%)
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $doubler as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> -Time: %s
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 29
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::generateClassId(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 45
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $mirror as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $creator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $namer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 130
> +
> +Deprecated: Prophecy\Doubler\Generator\ClassCreator::__construct(): Implicitly marking parameter $generator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php on line 26
> +
> +Deprecated: Prophecy\Doubler\NameGenerator::name(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/NameGenerator.php on line 37
> +
> +Deprecated: Prophecy\Doubler\ClassPatch\MagicCallPatch::__construct(): Implicitly marking parameter $tagRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/ClassPatch/MagicCallPatch.php on line 33
> +
> +Deprecated: Prophecy\PhpDocumentor\ClassAndInterfaceTagRetriever::__construct(): Implicitly marking parameter $classRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php on line 28
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $callCenter as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::willBeConstructedWith(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 106
> +
> +Deprecated: Prophecy\Doubler\LazyDouble::setArguments(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/LazyDouble.php on line 128
> +
> +Deprecated: Prophecy\Call\CallCenter::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/CallCenter.php on line 46
> +
> +Deprecated: Prophecy\Argument\Token\ExactValueToken::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Argument/Token/ExactValueToken.php on line 39
> +
> +Deprecated: Prophecy\Argument\Token\ExactValueToken::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Argument/Token/ExactValueToken.php on line 39
> +
> +Deprecated: Double\DateTime\P1::__construct(): Implicitly marking parameter $datetime as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php(44) : eval()'d code on line 5
> +
> +Deprecated: Prophecy\Prediction\CallTimesPrediction::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prediction/CallTimesPrediction.php on line 35
> +
> +Deprecated: Prophecy\Call\Call::__construct(): Implicitly marking parameter $exception as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/Call.php on line 51
> +
> +
> +Time: 00:00.014, Memory: 6.00 MB
> +
>  There was 1 failure:
>  
>  1) Prophecy\PhpUnit\Tests\Fixtures\MockFailure::testMethod
> @@ @@
>    Expected exactly 2 calls that match:
>        Double\DateTime\P1->format(exact("Y-m-d"))
>      but 1 were made:
> -      - format("Y-m-d") @ fixtures/MockFailure.php:%d
> +      - format("Y-m-d") @ fixtures/MockFailure.php:20
>  
> -%s/ProphecyTrait.php:%d
> -%s/tests/run_test.php:%d
> +/<<PKGBUILDDIR>>/src/ProphecyTrait.php:72
> +/<<PKGBUILDDIR>>/tests/run_test.php:20
>  
>  FAILURES!
>  Tests: 1, Assertions: 1, Failures: 1.
> 
> /<<PKGBUILDDIR>>/tests/MockFailure.phpt:1
> 
> 2) /<<PKGBUILDDIR>>/tests/NoClass.phpt
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
>  Runtime:       PHP 8.4.0beta4
>  
>  .                                                                   1 / 1 (100%)
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $doubler as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> -Time: %s
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 29
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::generateClassId(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 45
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $mirror as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $creator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $namer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 130
> +
> +Deprecated: Prophecy\Doubler\Generator\ClassCreator::__construct(): Implicitly marking parameter $generator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php on line 26
> +
> +Deprecated: Prophecy\Doubler\NameGenerator::name(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/NameGenerator.php on line 37
> +
> +Deprecated: Prophecy\Doubler\ClassPatch\MagicCallPatch::__construct(): Implicitly marking parameter $tagRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/ClassPatch/MagicCallPatch.php on line 33
> +
> +Deprecated: Prophecy\PhpDocumentor\ClassAndInterfaceTagRetriever::__construct(): Implicitly marking parameter $classRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php on line 28
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $callCenter as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::willBeConstructedWith(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 106
> +
> +Deprecated: Prophecy\Doubler\LazyDouble::setArguments(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/LazyDouble.php on line 128
> +
> +Deprecated: Prophecy\Call\CallCenter::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/CallCenter.php on line 46
> +
> +
> +Time: 00:00.012, Memory: 6.00 MB
>  
>  OK (1 test, 1 assertion)
> 
> /<<PKGBUILDDIR>>/tests/NoClass.phpt:1
> 
> 3) /<<PKGBUILDDIR>>/tests/SpyFailure.phpt
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
>  Runtime:       PHP 8.4.0beta4
>  
>  F                                                                   1 / 1 (100%)
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $doubler as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> -Time: %a
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 29
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::generateClassId(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 45
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $mirror as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $creator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $namer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 130
> +
> +Deprecated: Prophecy\Doubler\Generator\ClassCreator::__construct(): Implicitly marking parameter $generator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php on line 26
> +
> +Deprecated: Prophecy\Doubler\NameGenerator::name(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/NameGenerator.php on line 37
> +
> +Deprecated: Prophecy\Doubler\ClassPatch\MagicCallPatch::__construct(): Implicitly marking parameter $tagRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/ClassPatch/MagicCallPatch.php on line 33
> +
> +Deprecated: Prophecy\PhpDocumentor\ClassAndInterfaceTagRetriever::__construct(): Implicitly marking parameter $classRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php on line 28
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $callCenter as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::willBeConstructedWith(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 106
> +
> +Deprecated: Prophecy\Doubler\LazyDouble::setArguments(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/LazyDouble.php on line 128
> +
> +Deprecated: Prophecy\Call\CallCenter::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/CallCenter.php on line 46
> +
> +Deprecated: Double\DateTime\P1::__construct(): Implicitly marking parameter $datetime as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php(44) : eval()'d code on line 5
> +
> +Deprecated: Prophecy\Argument\Token\ExactValueToken::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Argument/Token/ExactValueToken.php on line 39
> +
> +Deprecated: Prophecy\Argument\Token\ExactValueToken::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Argument/Token/ExactValueToken.php on line 39
> +
> +Deprecated: Prophecy\Prediction\CallPrediction::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prediction/CallPrediction.php on line 31
> +
> +
> +Time: 00:00.013, Memory: 6.00 MB
> +
>  There was 1 failure:
>  
>  1) Prophecy\PhpUnit\Tests\Fixtures\SpyFailure::testMethod
> -%ao calls have been made that match:
> +No calls have been made that match:
>    Double\DateTime\P1->format(exact("Y-m-d"))
>  but expected at least one.
>  
> -%a/tests/run_test.php:%d
> +/<<PKGBUILDDIR>>/tests/run_test.php:20
>  
>  FAILURES!
>  Tests: 1, Assertions: 1, Failures: 1.
> 
> /<<PKGBUILDDIR>>/tests/SpyFailure.phpt:1
> 
> 4) /<<PKGBUILDDIR>>/tests/Success.phpt
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
>  Runtime:       PHP 8.4.0beta4
>  
>  .                                                                   1 / 1 (100%)
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $doubler as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> -Time: %s
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 29
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::generateClassId(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 45
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $mirror as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $creator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $namer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 130
> +
> +Deprecated: Prophecy\Doubler\Generator\ClassCreator::__construct(): Implicitly marking parameter $generator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php on line 26
> +
> +Deprecated: Prophecy\Doubler\NameGenerator::name(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/NameGenerator.php on line 37
> +
> +Deprecated: Prophecy\Doubler\ClassPatch\MagicCallPatch::__construct(): Implicitly marking parameter $tagRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/ClassPatch/MagicCallPatch.php on line 33
> +
> +Deprecated: Prophecy\PhpDocumentor\ClassAndInterfaceTagRetriever::__construct(): Implicitly marking parameter $classRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php on line 28
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $callCenter as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::willBeConstructedWith(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 106
> +
> +Deprecated: Prophecy\Doubler\LazyDouble::setArguments(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/LazyDouble.php on line 128
> +
> +Deprecated: Prophecy\Call\CallCenter::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/CallCenter.php on line 46
> +
> +Deprecated: Prophecy\Argument\Token\ExactValueToken::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Argument/Token/ExactValueToken.php on line 39
> +
> +Deprecated: Prophecy\Argument\Token\ExactValueToken::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Argument/Token/ExactValueToken.php on line 39
> +
> +Deprecated: Double\DateTime\P1::__construct(): Implicitly marking parameter $datetime as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php(44) : eval()'d code on line 5
> +
> +Deprecated: Prophecy\Prediction\CallPrediction::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prediction/CallPrediction.php on line 31
> +
> +Deprecated: Prophecy\Call\Call::__construct(): Implicitly marking parameter $exception as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/Call.php on line 51
> +
> +
> +Time: 00:00.013, Memory: 6.00 MB
>  
>  OK (1 test, 1 assertion)
> 
> /<<PKGBUILDDIR>>/tests/Success.phpt:1
> 
> 5) /<<PKGBUILDDIR>>/tests/WrongCall.phpt
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
>  Runtime:       PHP 8.4.0beta4
>  
>  E                                                                   1 / 1 (100%)
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $doubler as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> -Time: %a
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
>  
> +Deprecated: Prophecy\Prophet::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophet.php on line 46
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 29
> +
> +Deprecated: Prophecy\Doubler\CachedDoubler::generateClassId(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/CachedDoubler.php on line 45
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $mirror as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $creator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::__construct(): Implicitly marking parameter $namer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 43
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::double(): Implicitly marking parameter $args as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 90
> +
> +Deprecated: Prophecy\Doubler\Doubler::createDoubleClass(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Doubler.php on line 130
> +
> +Deprecated: Prophecy\Doubler\Generator\ClassCreator::__construct(): Implicitly marking parameter $generator as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/Generator/ClassCreator.php on line 26
> +
> +Deprecated: Prophecy\Doubler\NameGenerator::name(): Implicitly marking parameter $class as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/NameGenerator.php on line 37
> +
> +Deprecated: Prophecy\Doubler\ClassPatch\MagicCallPatch::__construct(): Implicitly marking parameter $tagRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/ClassPatch/MagicCallPatch.php on line 33
> +
> +Deprecated: Prophecy\PhpDocumentor\ClassAndInterfaceTagRetriever::__construct(): Implicitly marking parameter $classRetriever as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php on line 28
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $callCenter as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $revealer as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::__construct(): Implicitly marking parameter $comparatorFactory as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 50
> +
> +Deprecated: Prophecy\Prophecy\ObjectProphecy::willBeConstructedWith(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Prophecy/ObjectProphecy.php on line 106
> +
> +Deprecated: Prophecy\Doubler\LazyDouble::setArguments(): Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Doubler/LazyDouble.php on line 128
> +
> +Deprecated: Prophecy\Call\CallCenter::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/CallCenter.php on line 46
> +
> +
> +Time: 00:00.012, Memory: 6.00 MB
> +
>  There was 1 error:
>  
>  1) Prophecy\PhpUnit\Tests\Fixtures\WrongCall::testMethod
>  Prophecy\Exception\Doubler\MethodNotFoundException: Method `Double\stdClass\P1::talk()` is not defined.
>  
> -%a%s/fixtures/WrongCall.php:%d
> -%s/tests/run_test.php:%d
> +/usr/share/php/Prophecy/Prophecy/MethodProphecy.php:72
> +/usr/share/php/Prophecy/Prophecy/ObjectProphecy.php:267
> +/<<PKGBUILDDIR>>/fixtures/WrongCall.php:16
> +/<<PKGBUILDDIR>>/tests/run_test.php:20
>  
>  ERRORS!
>  Tests: 1, Assertions: 0, Errors: 1.
> 
> /<<PKGBUILDDIR>>/tests/WrongCall.phpt:1
> 
> FAILURES!
> Tests: 6, Assertions: 6, Failures: 5.
> make[1]: *** [debian/rules:17: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-phpspec-prophecy-phpunit/php-phpspec-prophecy-phpunit_2.2.0-1+rebuild1726680876_amd64-2024-09-18T17:34:37Z.build



More information about the pkg-php-pear mailing list