Alternatively for the @lemats solution, you can modify the composer.json file with:
"config": { "discard-changes": true },
It is not worth using anything for this option, you should work in --no-interaction mode
php composer.json install --no-interaction
Although I agree with @Seldaek, you should not modify these vendor files, but sometimes you are forced to decapitate it :(
Reza S Nov 26 '13 at 22:46 2013-11-26 22:46
source share