Skip to content

Commit 01166ab

Browse files
committed
Add phpcs-baseline command for convenience
1 parent 9ee893e commit 01166ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/phpcs-baseline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $_SERVER['argv'][] = '--report-file=phpcs.baseline.xml';
1010
$_SERVER['argv'][] = '--basepath=.';
1111

1212
// invoke phpcs. find it next to this file or in vendor/bin
13-
foreach([__DIR__ . '/phpcs', __DIR__ . '/../vendor/bin/phpcs', __DIR__ . '/../../bin/phpcs'] as $path) {
13+
foreach([__DIR__ . '/phpcs', __DIR__ . '/../vendor/bin/phpcs', __DIR__ . '/../../../bin/phpcs'] as $path) {
1414
if (file_exists($path)) {
1515
require $path;
1616
return;

0 commit comments

Comments
 (0)