Closed jrfnl closed 6 months ago
This should work for now. PHPCS 4.0 will remove the whole outdated TestSuite setup as per #25, so by that time, the problem is gone completely.
Ref: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
Note: the tests won't pass on PHP 8.4 yet as PHPUnit itself (and its dependencies) still need to release a version which fixes similar issues in PHPUnit itself.
Test framework: fix PHP 8.4 deprecation
Description
This should work for now. PHPCS 4.0 will remove the whole outdated TestSuite setup as per #25, so by that time, the problem is gone completely.
Ref: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
Note: the tests won't pass on PHP 8.4 yet as PHPUnit itself (and its dependencies) still need to release a version which fixes similar issues in PHPUnit itself.
Suggested changelog entry
Test framework: fix PHP 8.4 deprecation