Skip to content

Commit 39903b8

Browse files
committed
minor #1311 bump phpunit-bridge version constraint (jrushlow)
This PR was merged into the 1.0-dev branch. Discussion ---------- bump phpunit-bridge version constraint `v5.4.17` of `phpunit-bridge` fixed compatibility with `doctrine/annotations:^2.0`. https://github.com/symfony/symfony/pull/48718/files#diff-7b61897762550adef47d038e61dbb44e9759b80179c8c7674fc2300c207fe751 Without the version bump to at least `5.4.17` - CI fails against `5.4.*` w/ `--prefer-lowest` dependencies. `phpunit-bridge:^5.4.7` is the lowest, but not compatible w/ MakerBundle as `doctrine/annotations` isn't needed. Fixes: ``` PHP Fatal error: Uncaught Error: Call to undefined method Doctrine\Common\Annotations\AnnotationRegistry::registerLoader() in /home/runner/work/maker-bundle/maker-bundle/vendor/symfony/phpunit-bridge/bootstrap.php:34 ``` in several tests. Commits ------- 032fd45 bump phpunit-bridge version constraint
2 parents f9faffb + 032fd45 commit 39903b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"doctrine/doctrine-bundle": "^2.4",
3232
"doctrine/orm": "^2.10.0",
3333
"symfony/http-client": "^5.4.7|^6.0",
34-
"symfony/phpunit-bridge": "^5.4.7|^6.0",
34+
"symfony/phpunit-bridge": "^5.4.17|^6.0",
3535
"symfony/polyfill-php80": "^1.16.0",
3636
"symfony/security-core": "^5.4.7|^6.0",
3737
"symfony/yaml": "^5.4.3|^6.0",

0 commit comments

Comments
 (0)