The setup:di:compile
command should not process folders as files
#3824
Labels
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
The
setup:di:compile
command is a little too greedy in scanning for PHP files. This can lead to the following exceptionThis appears to be the result of the
setup:di:compile
command processing a directory/folder that ends in.php
as a file. Steps should be taken to ensuresetup:di:compile
only processes actual files,and not directories. This is more than a theoretical concerns -- this directly impacted a popular third party Magento extension: UltimateModuleCreator/Umc_Base#16 (comment)
Steps to reproduce
develop
branch.Example.php
in a module foldersetup:di:compile
commandExpected result
Actual result
No tokens were provided
error.The text was updated successfully, but these errors were encountered: