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
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,18 @@ parameters:
60
60
count:1
61
61
path:src/Analyser/RicherScopeGetTypeHelper.php
62
62
63
+
-
64
+
message:'#^Call to method __construct\(\) of internal class PhpParser\\Internal\\TokenStream from outside its root namespace PhpParser\.$#'
65
+
identifier:method.internalClass
66
+
count:1
67
+
path:src/Analyser/RuleErrorTransformer.php
68
+
69
+
-
70
+
message:'#^Instantiation of internal class PhpParser\\Internal\\TokenStream\.$#'
71
+
identifier:new.internalClass
72
+
count:1
73
+
path:src/Analyser/RuleErrorTransformer.php
74
+
63
75
-
64
76
message:'#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#'
65
77
identifier:phpstanApi.instanceofType
@@ -102,6 +114,24 @@ parameters:
102
114
count:1
103
115
path:src/Collectors/Registry.php
104
116
117
+
-
118
+
message:'#^Call to method getContent\(\) of internal class PhpMerge\\internal\\Line from outside its root namespace PhpMerge\.$#'
119
+
identifier:method.internalClass
120
+
count:2
121
+
path:src/Command/AnalyseCommand.php
122
+
123
+
-
124
+
message:'#^Call to static method createArray\(\) of internal class PhpMerge\\internal\\Hunk from outside its root namespace PhpMerge\.$#'
125
+
identifier:staticMethod.internalClass
126
+
count:2
127
+
path:src/Command/AnalyseCommand.php
128
+
129
+
-
130
+
message:'#^Call to static method createArray\(\) of internal class PhpMerge\\internal\\Line from outside its root namespace PhpMerge\.$#'
131
+
identifier:staticMethod.internalClass
132
+
count:5
133
+
path:src/Command/AnalyseCommand.php
134
+
105
135
-
106
136
message:'#^Anonymous function has an unused use \$container\.$#'
107
137
identifier:closure.unusedUse
@@ -204,6 +234,24 @@ parameters:
204
234
count:1
205
235
path:src/Diagnose/PHPStanDiagnoseExtension.php
206
236
237
+
-
238
+
message:'#^Call to method getTokenCode\(\) of internal class PhpParser\\Internal\\TokenStream from outside its root namespace PhpParser\.$#'
message:'#^Parameter \$origTokens of method PHPStan\\Fixable\\PhpPrinterIndentationDetectorVisitor\:\:__construct\(\) has typehint with internal class PhpParser\\Internal\\TokenStream\.$#'
0 commit comments