Skip to content

Commit d5bcfa4

Browse files
Sync
1 parent f8e2af4 commit d5bcfa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
if (substr(PHP_VERSION, 0 - strlen('-(to be removed in future macOS)')) === '-(to be removed in future macOS)') {
12+
if (!version_compare(PHP_VERSION, PHP_VERSION, '=')) {
1313
fwrite(
1414
STDERR,
1515
sprintf(

0 commit comments

Comments
 (0)