Skip to content

[12.x] PHPUnit 12 #6603

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

Closed
wants to merge 2 commits into from
Closed

[12.x] PHPUnit 12 #6603

wants to merge 2 commits into from

Conversation

Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Apr 18, 2025

No description provided.

composer.json Outdated
@@ -17,7 +17,7 @@
"laravel/sail": "^1.41",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
"phpunit/phpunit": "^11.5.3"
"phpunit/phpunit": "^12.1.2"
Copy link
Member

Choose a reason for hiding this comment

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

PHPUnit 12 requires PHP 8.3 as minimum

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
"phpunit/phpunit": "^12.1.2"
"phpunit/phpunit": "^11.5.3 || ^12.1.2"

@crynobone Yeah, I just saw that too.

Should it be kept at PHPUnit 11 in the skeleton, or allow both?

@Jubeki Jubeki marked this pull request as draft April 18, 2025 11:37
Copy link
Member

@GrahamCampbell GrahamCampbell left a comment

Choose a reason for hiding this comment

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

I think it's best to just have phpunit 11 as the default. I don't see a big rush to upgrade for most people.

@Jubeki
Copy link
Contributor Author

Jubeki commented Apr 18, 2025

Yeah, agree that this is not a blocker, maybe something for Laravel 13.

Though it seems Symphony 8.0 will still require PHP 8.2, so I am not sure if it is necessary to bump Laravel to require PHP 8.3 for PHPUnit 12. (Development for Symfony 8.0 has not started yet, so it is possible that the PHP version bump happens sometime after May.)
https://symfony.com/releases/8.0

@Jubeki Jubeki closed this Apr 18, 2025
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.

3 participants