-
-
Notifications
You must be signed in to change notification settings - Fork 9
Remove symfony/phpunit-bridge from test-pack #24
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
@@ -4,15 +4,13 @@ | |||
"license": "MIT", | |||
"description": "A pack for functional and end-to-end testing within a Symfony app", | |||
"require": { | |||
"phpunit/phpunit": "^9.5", |
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.
was only restricted to this version because of the bridge: #19
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.
Is it worth setting ^11.1
here, given that is the first PHPUnit version that is fully compatible with the features provided by PHPUnitBridge's deprecation system? Or would that be redundant, as Composer will automatically pick the latest version anyways?
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.
it should then be >=11.1
IMHO
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.
Based on symfony/recipes#1401 (comment), we may need to set this to some >=12.x
version then. That could probably mean we have to delay this to Symfony 7.4?
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.
How does the "pack" behave with >= does it still require it as ^11.1 else a conflict would be better.
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.
shouldn't we move this constraint to the conflict section?
conflict with phpunit < 11.1
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.
added
Great! Finally! |
@ucscode this PR installs the version which is compatible with your used PHP version as we changed from |
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.
@alexander-schranz can you please squash after adding the conflict line?
7bea7a6
to
c25e0d7
Compare
Fix #21
Reference: https://github.com/symfony/demo/pull/1549/files
I think the recommended way today should be work without the phpunit bridge and directly with phpunit.