Recently I switched from jms/serializer to symfony/serializer. While developing, everything worked great, but on deployment on the live system the error "phpdocumentor/reflection-docblock" not installed appeared. Not a message you want to see on your live system. When running composer require phpdocumentor/reflection-docblock, I only got
When using the paypal/merchant-sdk-php composer package and running composer install or composer update you're getting a lot of warning messages like the following: ... Writing lock file Generating autoload files Warning: Ambiguous class resolution, "SetDataRequestType" was found in both "/project/vendor/paypal/merchant-sdk-php/lib/services/PayPalAPIInterfaceService/PayPalAPIInterfaceService.
When working with your own repositories or with just updated packages, it can happen, that composer still has something in the cache and just don't want to update. To clear the composer cache just run the following: $ composer clearcache You can also use clear-cache which is an alias for clearcache.