magento-cache-clean
magento-cache-clean copied to clipboard
Magento modules symlinked into vendor from outside of the Magento Basedir are not watched by this module
The
\Magento\Framework\Component\ComponentRegistrar->getPaths('module')
command returns paths outside of the magento basedir when modules are symlinked in by composer into vendor from outside of the magento basepath.
The removal of basepath from these modules path (who's path doesnt start with basepath) causes the path to be butchered by removing a fixed length string (length of basepath + 1) from the beginning of the path.
https://github.com/mage2tv/magento-cache-clean/blob/20c729577afdb2c2c39f7c5b332386c55349dfdb/src/cache/config/php.cljs#L38-L58