Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit f3c25d3

Browse files
committed
Fix in skip-linting bin
1 parent 86cf65f commit f3c25d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/skip-linting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
$skip = false;
1414
}
1515

16-
$skip = isset($m[2]) && version_compare(PHP_VERSION, $m[2], $m[1]);
16+
$skip = isset($m[2]) && !version_compare(PHP_VERSION, $m[2], $m[1]);
1717
}
1818

1919
echo "$file;" . ($skip ? '1' : '0') . "\n";

0 commit comments

Comments
 (0)