It is not possible to provide a custom ruleset file. For instance --standard=phpcs.xml which is available in phpcs will be ignored and the used coding standard must come from a file named ruleset.xml. The source code suggests that a different value could be provided.
|
$phpcsOutput = $this->runPhpcs($fileDiff); |
|
protected function runPhpcs(array $files = [], string $ruleset = 'ruleset.xml') |
It is not possible to provide a custom ruleset file. For instance --standard=phpcs.xml which is available in phpcs will be ignored and the used coding standard must come from a file named ruleset.xml. The source code suggests that a different value could be provided.
phpcs-diff/src/PhpcsDiff.php
Line 136 in e7a0d8e
phpcs-diff/src/PhpcsDiff.php
Line 190 in e7a0d8e