We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392868f commit bd84eb5Copy full SHA for bd84eb5
tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php
@@ -1274,7 +1274,7 @@ public function getTestData(): iterable
1274
',
1275
];
1276
1277
- if (PHP_VERSION_ID > 70300) {
+ if (PHP_VERSION_ID >= 70400) {
1278
yield 'locate function' => [
1279
$this->constantArray([
1280
[new ConstantIntegerType(1), $this->uintStringified()],
@@ -1296,7 +1296,7 @@ public function getTestData(): iterable
1296
PHP_VERSION_ID >= 80100
1297
? 'strpos(): Passing null to parameter #2 ($needle) of type string is deprecated'
1298
: (
1299
- PHP_VERSION_ID >= 70300 && PHP_VERSION_ID < 80000
+ PHP_VERSION_ID < 80000
1300
? 'strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior'
1301
: null
1302
)
0 commit comments