When we have any namespaced class, and we use the optimize-autoloader (e.g., composer install --no-dev --optimize-autoloader ), Strauss does not remove moved files entries from the vendor/composer/autoload_classmap.php and vendor/composer/autoload_static.php files.
When we have any namespaced class, and we use the optimize-autoloader (e.g.,
composer install --no-dev --optimize-autoloader
), Strauss does not remove moved files entries from thevendor/composer/autoload_classmap.php
andvendor/composer/autoload_static.php
files.Example:
When we run
composer install
and check thevendor/composer/autoload_classmap.php
, this file doesn't contain thepsr
files entries.However, if we delete the
vendor/vendor-prefixed
folders and run it again using the optimized version (composer install -o
), thepsr
files are there:See:
Same case for the
vendor/composer/autoload_static.php
file.