Skip to content

Commit fff4bcf

Browse files
committed
Corrected secondary path for phpcs executable
1 parent 9ecc9d8 commit fff4bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpcsDiff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected function runPhpcs(array $files = [], $ruleset = 'ruleset.xml')
199199
$exec = 'vendor/bin/phpcs';
200200

201201
if (is_file(__DIR__ . '/../../../bin/phpcs')) {
202-
$exec = __DIR__ . '/../../../bin/phpcs';
202+
$exec = realpath(__DIR__ . '/../../../bin/phpcs');
203203
} elseif (is_file(__DIR__ . '/../bin/phpcs')) {
204204
$exec = realpath(__DIR__ . '/../bin/phpcs');
205205
}

0 commit comments

Comments
 (0)