Skip to content

Commit e9e1c03

Browse files
committed
Fix build
1 parent b5a84eb commit e9e1c03

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build/baseline-pre-8.0.neon

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^Call to function method_exists\(\) with ReflectionFunction and ''getClosureCalledCla…'' will always evaluate to false\.$#'
5+
identifier: function.impossibleType
6+
count: 1
7+
path: ../src/Type/ClosureTypeFactory.php

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
$includes = [];
44
if (PHP_VERSION_ID >= 80000) {
55
$includes[] = __DIR__ . '/baseline-8.0.neon';
6+
} else {
7+
$includes[] = __DIR__ . '/baseline-pre-8.0.neon';
68
}
79
if (PHP_VERSION_ID >= 80100) {
810
$includes[] = __DIR__ . '/baseline-8.1.neon';

0 commit comments

Comments
 (0)