Skip to content

Commit bd84eb5

Browse files
committed
Fix build
1 parent 392868f commit bd84eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ public function getTestData(): iterable
12741274
',
12751275
];
12761276

1277-
if (PHP_VERSION_ID > 70300) {
1277+
if (PHP_VERSION_ID >= 70400) {
12781278
yield 'locate function' => [
12791279
$this->constantArray([
12801280
[new ConstantIntegerType(1), $this->uintStringified()],
@@ -1296,7 +1296,7 @@ public function getTestData(): iterable
12961296
PHP_VERSION_ID >= 80100
12971297
? 'strpos(): Passing null to parameter #2 ($needle) of type string is deprecated'
12981298
: (
1299-
PHP_VERSION_ID >= 70300 && PHP_VERSION_ID < 80000
1299+
PHP_VERSION_ID < 80000
13001300
? 'strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior'
13011301
: null
13021302
)

0 commit comments

Comments
 (0)