[TASK] Migrate deprecated PHPUnit 9 methods
Since the recent release of PHPUnit 9.6 some new deprecations were added which signal breaking changes for version 10. As deprecations are causing our tests to fail, they need to be addressed immediately. Method `expectErrorMessage` replaced with `expectExceptionMessage`. Method `getMockClass` replaced with `createMock` and a subsequent get_class call. Also update phpunit/phpunit to latest version: > composer update phpunit/phpunit > composer bump phpunit/phpunit Resolves: #99817 Releases: main, 11.5 Change-Id: I6d01ccca398a8ff5db735a35b19061b711c843cc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77692 Tested-by:Benjamin Franzke <bfr@qbus.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benjamin Franzke <bfr@qbus.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- composer.json 1 addition, 1 deletioncomposer.json
- composer.lock 9 additions, 9 deletionscomposer.lock
- typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php 6 additions, 6 deletionstypo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php
- typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php 1 addition, 1 deletion...3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/DateTimeTypesTest.php 2 additions, 2 deletions...it/Database/Schema/Parser/DataTypes/DateTimeTypesTest.php
- typo3/sysext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php 2 additions, 2 deletions...sext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php
- typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationTest.php 6 additions, 5 deletions.../Tests/Unit/Property/PropertyMappingConfigurationTest.php
- typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php 5 additions, 5 deletions...extbase/Tests/Unit/Property/TypeConverterRegistryTest.php
Please register or sign in to comment