Skip to content

Commit 0467024

Browse files
committed
<php82 baseline
1 parent c74173f commit 0467024

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

phpstan/include-by-php-version.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
if (version_compare($phpversion, '8.2', '>=')) {
1010
$includes[] = __DIR__ . '/php-at-least-8.2.neon';
1111
}
12+
if (version_compare($phpversion, '8.2', '<')) {
13+
$includes[] = __DIR__ . '/php-below-8.2.neon';
14+
}
1215
if (version_compare($phpversion, '8.1', '<')) {
1316
$includes[] = __DIR__ . '/php-below-8.1.neon';
1417
}

phpstan/php-below-8.2.neon

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
identifier: function.alreadyNarrowedType
5+
count: 2
6+
path: ../src/Type/Definition/QueryPlan.php
7+
8+
-
9+
identifier: function.alreadyNarrowedType
10+
count: 2
11+
path: ../src/Utils/TypeInfo.php

0 commit comments

Comments
 (0)