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
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,8 @@ parameters:
43
43
path:src/Analyser/MutatingScope.php
44
44
45
45
-
46
-
message:"#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantBooleanType is error\\-prone and deprecated\\. Use Type\\:\\:isTrue\\(\\) or Type\\:\\:isFalse\\(\\) instead\\.$#"
46
+
message:'#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
47
+
identifier:phpstanApi.instanceofType
47
48
count:2
48
49
path:src/Analyser/NodeScopeResolver.php
49
50
@@ -671,6 +672,12 @@ parameters:
671
672
count:1
672
673
path:src/Rules/RuleLevelHelper.php
673
674
675
+
-
676
+
message:'#^Doing instanceof PHPStan\\Type\\ObjectType is error\-prone and deprecated\. Use Type\:\:isObject\(\) or Type\:\:getObjectClassNames\(\) instead\.$#'
677
+
identifier:phpstanApi.instanceofType
678
+
count:2
679
+
path:src/Rules/RuleLevelHelper.php
680
+
674
681
-
675
682
message:'#^Doing instanceof PHPStan\\Type\\Constant\\ConstantBooleanType is error\-prone and deprecated\. Use Type\:\:isTrue\(\) or Type\:\:isFalse\(\) instead\.$#'
0 commit comments