-
Notifications
You must be signed in to change notification settings - Fork 71
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
False negative when not updating .lock correctly #406
Comments
@Jean85 is that because of I don't think this tool should be in the crossfire here: that's already a problem in your setup, and this tool is (correctly) using |
I would say here that the behavior is undefined: the setup is already broken-ish at this stage 🤔 |
I didn't know it used Let me check manually... |
In theory, |
Then it's inconsistent in that behavior; I just checked and:
|
@Jean85 I would check with @duncan3dc why we did 57cbad2 Specifically, why Anyway, |
This seems the reason: #105 (comment)
Do you think it makes sense to report this as a bug upstream to Composer? |
If you think there is a problem in Composer itself, yes. IMO, |
I don't recall now why I chose |
Yeh, but a reminder for @Jean85 that |
Absolutely! But I would expect |
I don't think the problem is that Making changes to this tool to work around the problem reported here ( I was thinking we could read * See an example of how to check the freshness of a lock-file here: |
Today I was bitten by one mistake that this tool unfortunately didn't catch.
To reproduce:
src
composer.json
This happened with 3.8, but I switched to the shim and I can confirm it happens on the latest version too; I've patched my CI with a
composer validate
which will alert me of the issue, but I would expect this tool to fail too in this case.The text was updated successfully, but these errors were encountered: