When phpcs.autoConfigSearch is enabled, we should honor phpcs.ignorePatterns so that phpcs does not look for phpcs.xml, phpcs.xml.dist, phpcs.ruleset.xml or ruleset.xml in the ignored paths.
On some cases this may result in --standard being magically switched to an invalid ruleset which will cause the plugin to raise an error (see reference)
The current workaround is to switch off phpcs.autoConfigSearch
Description
When
phpcs.autoConfigSearch
is enabled, we should honorphpcs.ignorePatterns
so that phpcs does not look forphpcs.xml
,phpcs.xml.dist
,phpcs.ruleset.xml
orruleset.xml
in the ignored paths.On some cases this may result in --standard being magically switched to an invalid ruleset which will cause the plugin to raise an error (see reference)
The current workaround is to switch off
phpcs.autoConfigSearch
References:
See issue #93