Closed MrMeshok closed 4 months ago
Ah yeah not sure why I put that there, running without a config file is not really possible I think. I'll update the description. Or is there any other behavior you'd expect?
I kinda expected default resolution priority, so not including -c
option in command.
For now, I just set my configFile to phpstan.neon,phpstan.neon.dist,phpstan.dist.neon
Hmm when using an empty string it'll just use the empty string, when not changing the setting at all it'll use the default of phpstan.neon
. I agree though that the resolution priority you linked is a more sensible default so I'll update it to that.
If you omit -c
option altogether phpstan will resolve it.
But it does write in output
Note: Using configuration file /var/www/html/phpstan.neon.
Maybe this mess up your parsing of output
It shouldn't affect the parsing of output, but good to know
In the description, it states "Path to the config file (leave empty to disable, use a comma-separated list to resolve in order)". But when I set it to an empty string in the output, I see
I use version 3.0.3 with docker