-
Notifications
You must be signed in to change notification settings - Fork 32
Description
I'm setting up a test environment for my upcoming project (in CodeIgniter4, if it's relevant) and stumbled upon this weird behavior. I execute the following (in my CI4 project folder):
php /path/to/run.php --config /path/to/my.cfg.xml --src app/Views/ --exclude app/Views/welcome_message.php
But the excluded file is still parsed:

If I exclude the relative path portion of the exclusion, it does skip the file (but I assume it would also exclude other unintended files):
php /path/to/run.php --config /path/to/my.cfg.xml --src app/Views/ --exclude welcome_message.php
After searching the reported issues, I thought it could have something to do with Issue 78, so I tried executing from the installation directory:
php run.php --config /path/to/my.cfg.xml --src /full/path/to/app/Views/ --exclude /full/path/to/app/Views/welcome_message.php
And it still fails to exclude the indicated file.
Tested in:
- Version 0.14.8
- Commit b167771
With PHP 8.0.25. Manual installation.