-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan-baseline.neon
31 lines (27 loc) · 1.31 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
parameters:
ignoreErrors:
-
message: '#^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$#'
identifier: phpstanApi.instanceofType
count: 1
path: src/PHPStan/Helper/PHPStanReturnTypeHelper.php
-
message: '#^Accessing PHPStan\\Analyser\\Analyser\:\:class is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
identifier: phpstanApi.classConstant
count: 1
path: tests/PHPStan/Integration/PHPStanIntegrationTest.php
-
message: '#^Calling PHPStan\\Analyser\\Analyser\:\:analyse\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
identifier: phpstanApi.method
count: 1
path: tests/PHPStan/Integration/PHPStanIntegrationTest.php
-
message: '#^Calling PHPStan\\Analyser\\AnalyserResult\:\:getErrors\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version\.$#'
identifier: phpstanApi.method
count: 1
path: tests/PHPStan/Integration/PHPStanIntegrationTest.php
-
message: '#^Call to function in_array\(\) requires parameter \#3 to be true\.$#'
identifier: function.strict
count: 1
path: tests/Parser/MariaDbParserOperatorTest.php