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

Bump wildcard constraint #11694

Merged
merged 1 commit into from Oct 25, 2023
Merged

Bump wildcard constraint #11694

merged 1 commit into from Oct 25, 2023

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Oct 23, 2023

I recently ran composer bump on a project which used a wildcard constraint (*) for a particular package.

The help text for the bump command reads:

Increases the lower limit of your composer.json requirements to the currently installed versions

However the lower-limit for the wildcard constraint (*) was not changed. This pull request adds this functionality.

While I do not believe that unbound version constraints should be used generally, I recognise that others have different opinions and that there are valid use-cases for such constraints.

@Seldaek
Copy link
Member

Seldaek commented Oct 25, 2023

Hm interesting.. I kinda hate it but also it makes sense strictly speaking. So thanks? ;)

@Seldaek Seldaek added this to the 2.7 milestone Oct 25, 2023
@Seldaek Seldaek merged commit 7a09e05 into composer:main Oct 25, 2023
6 of 20 checks passed
@fredden fredden deleted the bump/wildcard branch October 25, 2023 22:05
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.

None yet

2 participants