-
Notifications
You must be signed in to change notification settings - Fork 344
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 (9 --> 10) #800
Conversation
composer.json
Outdated
@@ -29,7 +29,7 @@ | |||
}, | |||
"require-dev": { | |||
"phpstan/phpstan": "^1.11", | |||
"phpunit/phpunit": "^9.6", | |||
"phpunit/phpunit": "^10.5.29", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need for the patch version. ^10.5
will be enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
.php-cs-fixer.php
Outdated
@@ -17,6 +17,7 @@ | |||
'native_function_invocation' => ['include' => ['@all']], | |||
'final_class' => true, | |||
'php_unit_mock_short_will_return' => true, | |||
'nullable_type_declaration_for_default_null_value' => true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule is already part of the Symfony group, so it's currently useless.
By the way, we should update the PHP80Migration group -> PHP81Migration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thank you for the hints!
No description provided.