Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: fix for PHP 8.4 deprecation of implicitly nullable types #404

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 16, 2024

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

This will 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
@jrfnl jrfnl added this to the 3.9.1 milestone Mar 16, 2024
@jrfnl jrfnl force-pushed the feature/tests-bypass-php-8.4-deprecation branch from 8fc669e to 7e3c481 Compare March 16, 2024 03:07
@jrfnl jrfnl merged commit 65d36da into master Mar 16, 2024
37 of 38 checks passed
@jrfnl jrfnl deleted the feature/tests-bypass-php-8.4-deprecation branch March 16, 2024 03:44
@jrfnl jrfnl mentioned this pull request Jul 23, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant