-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Expand file tree
/
Copy pathphpstan-baseline-7x.neon
More file actions
121 lines (99 loc) · 3.65 KB
/
phpstan-baseline-7x.neon
File metadata and controls
121 lines (99 loc) · 3.65 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
parameters:
ignoreErrors:
-
message: "#^Class BackedEnum not found\\.$#"
count: 1
path: framework/behaviors/AttributeTypecastBehavior.php
-
message: "#^Class BackedEnum not found\\.$#"
count: 2
path: framework/db/ColumnSchema.php
-
message: "#^Class BackedEnum not found\\.$#"
count: 1
path: framework/db/Command.php
-
message: "#^Class UnitEnum not found\\.$#"
count: 1
path: framework/db/Command.php
-
message: "#^Call to an undefined static method BackedEnum\\:\\:from\\(\\)\\.$#"
count: 1
path: framework/behaviors/AttributeTypecastBehavior.php
-
message: "#^Access to property \\$value on an unknown class BackedEnum\\.$#"
count: 2
path: framework/db/ColumnSchema.php
-
message: "#^Access to property \\$value on an unknown class BackedEnum\\.$#"
count: 1
path: framework/db/Command.php
-
message: "#^Access to property \\$name on an unknown class UnitEnum\\.$#"
count: 1
path: framework/db/Command.php
-
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
count: 2
path: framework/web/Controller.php
-
message: "#^Parameter \\&\\$constraints by\\-ref type of method yii\\\\db\\\\QueryBuilder\\:\\:getTableUniqueColumnNames\\(\\) expects array\\<yii\\\\db\\\\Constraint\\>\\, array\\<string\\, yii\\\\db\\\\Constraint\\>\\|false given\\.$#"
count: 1
path: framework/db/QueryBuilder.php
# PHP 7.4 does not have enums, so we ignore these errors.
-
message: "#^Class BackedEnum not found\\.$#"
count: 2
path: framework/helpers/BaseHtml.php
-
message: "#^Access to property \\$value on an unknown class BackedEnum\\.$#"
count: 2
path: framework/helpers/BaseHtml.php
-
message: "#^Class UnitEnum not found\\.$#"
count: 2
path: framework/helpers/BaseHtml.php
-
message: "#^Access to property \\$name on an unknown class UnitEnum\\.$#"
count: 2
path: framework/helpers/BaseHtml.php
# PHP 7.4 does not have enums, so we ignore these errors.
-
message: "#^Class BackedEnum not found\\.$#"
count: 2
path: framework/validators/RangeValidator.php
-
message: "#^Access to property \\$value on an unknown class BackedEnum\\.$#"
count: 1
path: framework/validators/RangeValidator.php
-
message: "#^Class UnitEnum not found\\.$#"
count: 2
path: framework/validators/RangeValidator.php
-
message: "#^Access to property \\$name on an unknown class UnitEnum\\.$#"
count: 1
path: framework/validators/RangeValidator.php
-
message: "#^Call to an undefined static method BackedEnum&UnitEnum\\:\\:cases\\(\\)\\.$#"
count: 1
path: framework/validators/RangeValidator.php
-
message: "#^Call to an undefined static method UnitEnum\\:\\:cases\\(\\)\\.$#"
count: 1
path: framework/validators/RangeValidator.php
# PHP 7.4 does not have enums, so we ignore these errors.
-
message: "#^Access to constant Active on an unknown class yiiunit\\\\framework\\\\db\\\\enums\\\\StatusTypeString\\.$#"
count: 3
path: tests/framework/behaviors/AttributeTypecastBehaviorTest.php
# PHP 7.4 does not have enums, so we ignore these errors.
-
message: "#^PHPDoc tag \\@property for property yiiunit\\\\framework\\\\behaviors\\\\ActiveRecordAttributeTypecastWithEnum\\:\\:\\$status contains unknown class yiiunit\\\\framework\\\\db\\\\enums\\\\StatusTypeString\\.$#"
count: 1
path: tests/framework/behaviors/AttributeTypecastBehaviorTest.php
# PHP 7.4 does not have enums, so we ignore these errors.
-
message: "#^Class yiiunit\\\\framework\\\\db\\\\enums\\\\StatusTypeString not found\\.$#"
count: 1
path: tests/framework/behaviors/AttributeTypecastBehaviorTest.php