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
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1077,6 +1077,12 @@ parameters:
1077
1077
count:2
1078
1078
path:src/Type/Enum/EnumCaseObjectType.php
1079
1079
1080
+
-
1081
+
rawMessage:'Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead.'
1082
+
identifier:phpstanApi.instanceofType
1083
+
count:1
1084
+
path:src/Type/ErrorType.php
1085
+
1080
1086
-
1081
1087
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
1082
1088
identifier:phpstanApi.instanceofType
@@ -1479,6 +1485,12 @@ parameters:
1479
1485
count:1
1480
1486
path:src/Type/ObjectType.php
1481
1487
1488
+
-
1489
+
rawMessage:'Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead.'
1490
+
identifier:phpstanApi.instanceofType
1491
+
count:4
1492
+
path:src/Type/ObjectType.php
1493
+
1482
1494
-
1483
1495
rawMessage:Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
0 commit comments