-
Notifications
You must be signed in to change notification settings - Fork 72
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
Prevent using symfony/console with broken exit code handling #89
Conversation
composer.json
Outdated
@@ -33,6 +33,9 @@ | |||
"symfony/console": "^3.0 || ^4.0", | |||
"webmozart/glob": "^4.1" | |||
}, | |||
"conflict": { | |||
"symfony/console": "3.4.16|4.1.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.
Better simply bump ^3.4.17 | ^4.1.6
above instead - no need to support older versions, as they will obviously have older bugs anyway.
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.
Agreed, but they've not been released yet
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.
Then let's wait for a release and bump this afterwards
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.
Note that this affects everything that uses symfony/console
, so doing a hunt for downstream consumers is like fighting windmills right now :-\
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.
Ok I've pushed your suggested change now
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.
I'll restart the build at the next symfony releases 👍
eb85b6f
to
ad0b196
Compare
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.
Build restarted and green: 🚢
There's a bug in symfony/console 3.4.16 and 4.1.5 where the exit code is reported as success if it failed.
This obviously affects this tool in a major way rendering it useless in a CI environment, so this PR ensures this bug cannot be installed.