We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2de7506 commit 1c15e29Copy full SHA for 1c15e29
pretty
@@ -52,7 +52,7 @@ $command = '';
52
if (file_exists('.phpcs.xml') || file_exists('phpcs.xml') || file_exists('.phpcs.xml.dist') || file_exists('phpcs.xml.dist')) {
53
echo "PHP CodeSniffer configuration file found, running CodeSniffer with version\n";
54
$command = $commands['phpcs'];
55
- $program = explode(' ', $command, 1)[0];
+ $program = explode(' ', $command, 2)[0];
56
assertPhpCodeSnifferIsInstalled($program);
57
58
passthru($program." --version");
0 commit comments