Skip to content

Upgrade to PHPUnit 11 and remove PHPUnit Symfony Bridge #281

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

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented May 28, 2025

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Remove phpunit bridge dependency in favor of new PHPUnit 11 features. The skeleton should match recipes files, we currently did not update before to PHPUnit 11 as it was not supported by symfony test-pack. With latest merges PHPUnit 11 is supported.

Projects could also go to PHPUnit 12 but that would require increase PHP to 8.3, but requires first #282

Why?

PHPUnit is now in a state that the features of PHPUnit bridge are not longer relevant:

So the symfony test-pack ships with phpunit instead of the phpunit bridge now.

@alexander-schranz alexander-schranz added the enhancement New feature or request label May 28, 2025
@Prokyonn
Copy link
Member

Prokyonn commented Jun 2, 2025

@alexander-schranz needs to be rebased

@alexander-schranz alexander-schranz force-pushed the enhancement/recipe-upgrades-phpunit-11 branch from 25cf416 to 5128a13 Compare June 2, 2025 08:51
@alexander-schranz alexander-schranz merged commit 7f02366 into sulu:2.6 Jun 2, 2025
4 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/recipe-upgrades-phpunit-11 branch July 16, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants