-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PhpUnitBridge] Add keyword dev
to leverage composer hint
#51925
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
Q | A |
---|---|
Branch? | 5.4 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | - |
License | MIT |
dev
to leverage composer hintdev
to leverage composer hint
Thank you @OskarStark. |
@@ -2,7 +2,7 @@ | |||
"name": "symfony/phpunit-bridge", | |||
"type": "symfony-bridge", | |||
"description": "Provides utilities for PHPUnit, especially user deprecation notices management", | |||
"keywords": [], | |||
"keywords": ['dev'], |
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.
Are single quotes valid json?
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.
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.
Not yet :)
I fixed it just after the merge when I realized that ;)
This PR was merged into the 5.4 branch. Discussion ---------- Revert "dev" keyword on PhpUnitBridge | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | / | License | MIT This PR revert #51925 The issue with the `dev` key word, is: Composer ask to re-run command with the `--dev` flag Which makes `simple-phpunit` stuck when running in a CI For the recall: - simple-phpunit run `composer require --no-update symfony/phpunit-bridge "*`@dev`"` https://github.com/symfony/symfony/blob/5f77c3fb3e5b95b577b1fd17cb03c12be568c70d/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php#L256 - composer ask for re-running the command in `--dev` https://github.com/composer/composer/blob/c827c93b62186488dbffdf4b614413ae7a785607/src/Composer/Command/RequireCommand.php#L235-L261 Commits ------- 315a8a4 Revert "Add keyword `dev` to leverage composer hint"