You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit efaa82a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1392,12 +1392,6 @@ parameters:
1392
1392
count:1
1393
1393
path:src/Type/IntersectionType.php
1394
1394
1395
-
-
1396
-
rawMessage:'Doing instanceof PHPStan\Type\Enum\EnumCaseObjectType is error-prone and deprecated. Use Type::getEnumCaseObject() or Type::getEnumCases() instead.'
1397
-
identifier:phpstanApi.instanceofType
1398
-
count:1
1399
-
path:src/Type/IntersectionType.php
1400
-
1401
1395
-
1402
1396
rawMessage:Doing instanceof PHPStan\Type\IntersectionType is error-prone and deprecated.
$this->assertSame('Type array{a: int}|array{b: int} of parameter #1 $x of passed callable needs to be same or wider than parameter type array{a: int, b?: int} of accepting callable.', $reasons[0]);
445
+
$this->assertStringStartsWith('Sealed array shapes array{b: int} and array{a: int, b?: int} cannot be intersected.', $reasons[1]);
0 commit comments