Uninstall one package from composer without updating everything else -


I have a project that uses musician I want to remove a package (aspect mock in my case) .

I compose Removes dependency from Jason and manually deleting all seller packages. Then I run the php composer.phar install . It says that

  WARNING: The lock file with the latest changes in the composer is not up to date. Jason You can get old reliance, run updates to update them.   

I do not want this warning, so I run php composer.phar update and it updates all my packages in composer.lock (which we have In SCM).

I do not want either to (I just want to delete a package), instead of running composer update , I manually remove the removable package from the composer package. Remove in lock Composer install still gives me this warning.

How can I remove a package installed by the composer without updating everything, and without starting the warnings in my workflow?

It is said that running no musician actually used Does not update anything in relation to the versions, but whatever you need and whatever you want.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -