-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
phpstan-baseline.neon
55 lines (47 loc) · 2.04 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
parameters:
ignoreErrors:
-
message: '#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#'
identifier: phpstanApi.instanceofType
count: 1
path: lib/NotNow/NoRelativeDateTimeInterfaceRule.php
-
message: '#^Doing instanceof PHPStan\\Type\\TypeWithClassName is error\-prone and deprecated\. Use Type\:\:getObjectClassNames\(\) or Type\:\:getObjectClassReflections\(\) instead\.$#'
identifier: phpstanApi.instanceofType
count: 1
path: lib/NotNow/NoRelativeDateTimeInterfaceRule.php
-
message: '#^Doing instanceof PHPStan\\Type\\ConstantScalarType is error\-prone and deprecated\. Use Type\:\:isConstantScalarValue\(\) or Type\:\:getConstantScalarTypes\(\) or Type\:\:getConstantScalarValues\(\) instead\.$#'
identifier: phpstanApi.instanceofType
count: 1
path: lib/NotNow/NoRelativeStrtotimeRule.php
-
message: '#^Access to an undefined property PhpParser\\Node\:\:\$args\.$#'
identifier: property.notFound
count: 1
path: lib/UnusedVariableRule.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: lib/UnusedVariableRule.php
-
message: '#^Cannot access property \$value on mixed\.$#'
identifier: property.nonObject
count: 2
path: lib/UnusedVariableRule.php
-
message: '#^Cannot call method getAttribute\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: lib/UnusedVariableRule.php
-
message: '#^Parameter \#1 \$line of method PHPStan\\Rules\\RuleErrorBuilder\<PHPStan\\Rules\\RuleError\>\:\:line\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
path: lib/UnusedVariableRule.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: lib/UnusedVariableRule.php