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

Update PHPUnit to 9.5.5 #4679

Merged
merged 1 commit into from
Jun 18, 2021
Merged

Update PHPUnit to 9.5.5 #4679

merged 1 commit into from
Jun 18, 2021

Conversation

morozov
Copy link
Member

@morozov morozov commented Jun 18, 2021

Q A
Type improvement
BC Break no

PHPUnit 9.5.5 improves compatibility with PHP 8.1. Specifically, in sebastianbergmann/phpunit@3e3aecd by addressing the Serializable deprecation.

Currently, if run on PHP 8.1, the test suite produces the following errors:

$ phpunit
PHP Deprecated:  The Serializable interface is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in vendor/phpunit/phpunit/src/Runner/DefaultTestResultCache.php on line 34

Deprecated: The Serializable interface is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in vendor/phpunit/phpunit/src/Runner/DefaultTestResultCache.php on line 34
PHPUnit 9.5.0 by Sebastian Bergmann and contributors.

Note, I don't believe DBAL 2.x will support PHP 8.1 but as long this release is supported, we should update dependencies starting the oldest supported release.

@morozov morozov added this to the 2.13.2 milestone Jun 18, 2021
@morozov morozov merged commit 8dd39d2 into doctrine:2.13.x Jun 18, 2021
@morozov morozov deleted the phpunit-9.5.5 branch June 18, 2021 21:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants