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 (9 --> 10) #800

Merged
merged 3 commits into from
Aug 5, 2024
Merged

Update PHPUnit (9 --> 10) #800

merged 3 commits into from
Aug 5, 2024

Conversation

W0rma
Copy link
Contributor

@W0rma W0rma commented Aug 2, 2024

No description provided.

composer.json Outdated
@@ -29,7 +29,7 @@
},
"require-dev": {
"phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5.29",
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@@ -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,
Copy link
Collaborator

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

Copy link
Contributor Author

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!

@garak garak merged commit 85ca0ac into KnpLabs:master Aug 5, 2024
13 checks passed
@W0rma W0rma deleted the phpunit10 branch August 5, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants