Skip to content
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

restore --version output to pre-2.3 #10684

Merged
merged 1 commit into from Apr 1, 2022

Conversation

dzuelke
Copy link
Contributor

@dzuelke dzuelke commented Apr 1, 2022

Symfony Console 2.8 used to print "version " in between name and version, and Composer 2.3 still does for -dev snapshots, so we're going back to the old formatting for consistency (and anyone out there who parses the version output of Composer)

Fixes #10683

Symfony Console 2.8 used to print 'version ' in between name and version, and Composer 2.3 still does for -dev snapshots, so we're going back to the old formatting for consistency (and anyone out there who parses the version output of Composer)

Fixes composer#10683
@Seldaek Seldaek merged commit 03b7882 into composer:main Apr 1, 2022
@Seldaek Seldaek added this to the 2.3 milestone Apr 1, 2022
@Seldaek Seldaek added the Bug label Apr 1, 2022
emahorvat52 pushed a commit to emahorvat52/composer that referenced this pull request Feb 3, 2023
Symfony Console 2.8 used to print 'version ' in between name and version, and Composer 2.3 still does for -dev snapshots, so we're going back to the old formatting for consistency (and anyone out there who parses the version output of Composer)

Fixes composer#10683
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent output of composer --version since 2.3
2 participants