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
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1437,6 +1437,18 @@ parameters:
1437
1437
count:1
1438
1438
path:src/Type/IterableType.php
1439
1439
1440
+
-
1441
+
rawMessage:'Doing instanceof PHPStan\Type\NeverType is error-prone and deprecated. Use Type::isNever() or Type::isExplicitNever() instead.'
1442
+
identifier:phpstanApi.instanceofType
1443
+
count:2
1444
+
path:src/Type/NeverType.php
1445
+
1446
+
-
1447
+
rawMessage:'Doing instanceof PHPStan\Type\NeverType is error-prone and deprecated. Use Type::isNever() or Type::isExplicitNever() instead.'
1448
+
identifier:phpstanApi.instanceofType
1449
+
count:1
1450
+
path:src/Type/NonAcceptingNeverType.php
1451
+
1440
1452
-
1441
1453
rawMessage:'Doing instanceof PHPStan\Type\ConstantScalarType is error-prone and deprecated. Use Type::isConstantScalarValue() or Type::getConstantScalarTypes() or Type::getConstantScalarValues() instead.'
1442
1454
identifier:phpstanApi.instanceofType
@@ -1767,6 +1779,12 @@ parameters:
1767
1779
count:1
1768
1780
path:src/Type/TypehintHelper.php
1769
1781
1782
+
-
1783
+
rawMessage:'Call to an undefined method PHPStan\Type\Type::isSubTypeOf().'
1784
+
identifier:method.notFound
1785
+
count:1
1786
+
path:src/Type/UnionType.php
1787
+
1770
1788
-
1771
1789
rawMessage:'Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.'
0 commit comments