-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Unrequire command in cli. #1622
Comments
+1 for this |
right now we do this with update command and composer.json modification (with php). |
👍 . I just realized I can't remove an outdated dependency without updating. Even though I have specific versions of packages listed I see that dependencies of those packages are getting updated. Kind of sucks. :-/ |
@miklosm It looks to me that you are using an old version of Composer. The latest composer version does not whitelists dependencies of updated packages in partial updates (unless you use the option to ask for it) |
Hi @stof. Could you tell me approximately what 'an old version' would be? It could be the case, since I noticed this during a jenkins build, and I don't think composer is updated on that server. |
it was changed 4 months ago |
Thank you. It might have been it. Seems like composer on that server is older than that. |
+1 composer should also warn you, if you're trying to remove a package, which is required by another one. |
@schmunk42 It will not warn you. It will simply keep it. This is why the command is not named |
hmm, actually, the PR is using |
Thanks, should be obvious :) my fault. |
See |
I need unrequire command on composer cli, or info how to extort package removing from vendor/ directory and fire uninstall composer event.
The text was updated successfully, but these errors were encountered: