Composer update sometimes doesn't delete obsolete files #12400
Unanswered
georgkrause
asked this question in
Q&A / Support
Replies: 1 comment 1 reply
-
That sounds incorrect to me, so either you're doing something wrong or something you're not sharing here, or there's a bug but it'd be the first time I hear of such behavior. The sometimes aspect makes it a bit difficult.. Can you try to spot a pattern here? Or ideally to share reproduction steps? Do you run a plain |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For my example, I have two projects: A Library called ABC and a project XYZ. Project XYZ installs ABC as a dependency.
Now let there be a new version of ABC which deletes a file.
Now I noticed if I run
composer update
, the file might not be removed from the package invendor
.composer install
deletes the file.Is this intended behavior? Or am I doing something wrong here?
Beta Was this translation helpful? Give feedback.
All reactions