We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4e4e8b + 4e9018c commit 97fd3c6Copy full SHA for 97fd3c6
pretty
@@ -48,7 +48,7 @@ $commands = $commands[$task];
48
$command = '';
49
50
// Detect which tool to run
51
-if (file_exists('phpcs.xml') || file_exists('phpcs.xml.dist')) {
+if (file_exists('.phpcs.xml') || file_exists('phpcs.xml') || file_exists('.phpcs.xml.dist') || file_exists('phpcs.xml.dist')) {
52
echo "PHP CodeSniffer configuration file found, running CodeSniffer\n";
53
$command = $commands['phpcs'];
54
$program = explode(' ', $command, 1)[0];
0 commit comments