Closed simPod closed 4 months ago
This is a duplicate of this issue here: https://github.com/maglnet/ComposerRequireChecker/issues/140
The phar needs the full file path to load the config file otherwise it just fallbacks to default settings if the file is not found without any notice.
That's confusing. When I use non-existing path it throws exception
In CheckCommand.php line 248:
Configuration file [./composer-require-checker.json] does not exist.
Therefore I implied my path is correct when the exception was not thrown.
Using full path works, thanks.
I'm running
bin/composer-require-checker.phar --config-file=composer-require-checker.json
I have whitelist configured
So it reports the unknown symbol even though it's present in the config's whitelist.
When I install the require checker as a dev dependency, whitelist is considered and no error given.