I need to have custom phpcs rulesets and for that I created phpcs.xml (even phpcs.xml.dist file doesn't work) with my custom configurations, but build tool plugin doesn't detect it. To make it work, I have to customise the command (e.g: exclude a specific directory/file) in composer.json file under code-sniff then only it's working...however it should detect phpcs.xml file automatically.
I need to have custom phpcs rulesets and for that I created phpcs.xml (even phpcs.xml.dist file doesn't work) with my custom configurations, but build tool plugin doesn't detect it. To make it work, I have to customise the command (e.g: exclude a specific directory/file) in composer.json file under code-sniff then only it's working...however it should detect phpcs.xml file automatically.