-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathphpstan-baseline.neon
139 lines (116 loc) · 5.01 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
parameters:
ignoreErrors:
-
message: '#^Out of 28 possible constant types, only 0 \- 0\.0 %% actually have it\. Add more constant types to get over 99 %%$#'
count: 2
path: lib/AnalyzeApplication.php
-
message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Parameter \#2 \$datetime of static method DateTimeImmutable\:\:createFromFormat\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$anonymousVariables \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$classesComplexity \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$deprecations \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$invalidPhpdocs \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$overallErrors \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$paramTypeCoverage \(int\<0, 100\>\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$propertyTypeCoverage \(int\<0, 100\>\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$returnTypeCoverage \(int\<0, 100\>\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$unknownTypes \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\AnalyzerResult\:\:\$unusedSymbols \(int\) does not accept mixed\.$#'
identifier: assign.propertyType
count: 1
path: lib/AnalyzerResultReader.php
-
message: '#^Call to function is_array\(\) with array\{ignoreErrors\?\: list\<array\{message\: string, count\: int, path\: string\}\>\} will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: lib/Baseline.php
-
message: '#^Call to function is_array\(\) with list\<array\{message\: string, count\: int, path\: string\}\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: lib/Baseline.php
-
message: '#^Parameter \#1 \$input of static method Nette\\Neon\\Neon\:\:decode\(\) expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: lib/Baseline.php
-
message: '#^Property staabm\\PHPStanBaselineAnalysis\\Baseline\:\:\$content \(array\{parameters\?\: array\{ignoreErrors\?\: list\<array\{message\: string, count\: int, path\: string\}\>\}\}\) does not accept array\<mixed, mixed\>\.$#'
identifier: assign.propertyType
count: 1
path: lib/Baseline.php
-
message: '#^Method staabm\\PHPStanBaselineAnalysis\\BaselineAnalyzer\:\:normalizeMessage\(\) should return string but returns string\|null\.$#'
identifier: return.type
count: 1
path: lib/BaselineAnalyzer.php
-
message: '#^Out of 28 possible constant types, only 0 \- 0\.0 %% actually have it\. Add more constant types to get over 99 %%$#'
count: 4
path: lib/BaselineAnalyzer.php
-
message: '#^Out of 28 possible constant types, only 0 \- 0\.0 %% actually have it\. Add more constant types to get over 99 %%$#'
count: 2
path: lib/FilterApplication.php
-
message: '#^Out of 28 possible constant types, only 0 \- 0\.0 %% actually have it\. Add more constant types to get over 99 %%$#'
count: 1
path: lib/GraphTemplate.php
-
message: '#^Generator expects value type string, string\|false given\.$#'
identifier: generator.valueType
count: 1
path: lib/ResultPrinter.php
-
message: '#^Out of 28 possible constant types, only 0 \- 0\.0 %% actually have it\. Add more constant types to get over 99 %%$#'
count: 14
path: lib/ResultPrinter.php
-
message: '#^Out of 28 possible constant types, only 0 \- 0\.0 %% actually have it\. Add more constant types to get over 99 %%$#'
count: 5
path: lib/TrendApplication.php