Skip to content

Commit 3d293c3

Browse files
committed
fix build on php < 8.3
1 parent bac6284 commit 3d293c3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build/ignore-by-php-version.neon.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
} else {
3939
$includes[] = __DIR__ . '/new-phpunit.neon';
4040
}
41+
42+
if (PHP_VERSION_ID < 80300) {
43+
$includes[] = __DIR__ . '/str-increment.neon';
44+
}
45+
4146
$config = [];
4247
$config['includes'] = $includes;
4348

build/str-increment.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^Used function str_increment not found\.#'

0 commit comments

Comments
 (0)