File tree 1 file changed +2
-2
lines changed
tests/Type/Doctrine/Query
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1274,7 +1274,7 @@ public function getTestData(): iterable
1274
1274
' ,
1275
1275
];
1276
1276
1277
- if (PHP_VERSION_ID > 70300 ) {
1277
+ if (PHP_VERSION_ID >= 70400 ) {
1278
1278
yield 'locate function ' => [
1279
1279
$ this ->constantArray ([
1280
1280
[new ConstantIntegerType (1 ), $ this ->uintStringified ()],
@@ -1296,7 +1296,7 @@ public function getTestData(): iterable
1296
1296
PHP_VERSION_ID >= 80100
1297
1297
? 'strpos(): Passing null to parameter #2 ($needle) of type string is deprecated '
1298
1298
: (
1299
- PHP_VERSION_ID >= 70300 && PHP_VERSION_ID < 80000
1299
+ PHP_VERSION_ID < 80000
1300
1300
? 'strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior '
1301
1301
: null
1302
1302
)
You can’t perform that action at this time.
0 commit comments