forked from brotkrueml/schema
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.baseline.neon
More file actions
172 lines (138 loc) · 6.75 KB
/
phpstan.baseline.neon
File metadata and controls
172 lines (138 loc) · 6.75 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
parameters:
ignoreErrors:
-
message: "#^Cannot call method assign\\(\\) on TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\|null\\.$#"
count: 1
path: Classes/AdminPanel/TypesInformation.php
-
message: "#^Cannot call method render\\(\\) on TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\|null\\.$#"
count: 1
path: Classes/AdminPanel/TypesInformation.php
-
message: "#^Cannot access property \\$newHash on TYPO3\\\\CMS\\\\Frontend\\\\Controller\\\\TypoScriptFrontendController\\|null\\.$#"
count: 1
path: Classes/Cache/PagesCacheService.php
-
message: "#^Call to an undefined method object\\:\\:getAdditionalProperties\\(\\)\\.$#"
count: 1
path: Classes/Core/Model/AbstractType.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: Classes/Core/Model/AbstractType.php
-
message: "#^Do not use static property$#"
count: 1
path: Classes/Core/Model/AbstractType.php
-
message: "#^Instanceof between mixed and Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface will always evaluate to false\\.$#"
count: 1
path: Classes/Core/Model/AbstractType.php
-
message: "#^Anonymous function should return string but returns array\\<string\\>\\|string\\.$#"
count: 1
path: Classes/Core/Model/MultipleType.php
-
message: "#^Do not use static property$#"
count: 1
path: Classes/Core/Model/MultipleType.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\MultipleType\\:\\:mergePropertyNamesFromSingleTypes\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#"
count: 1
path: Classes/Core/Model/MultipleType.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\MultipleType\\:\\:storeTypeNames\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#"
count: 1
path: Classes/Core/Model/MultipleType.php
-
message: "#^Return type \\(array\\<string\\>\\) of method Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\MultipleType\\:\\:getType\\(\\) should be compatible with return type \\(string\\) of method Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\AbstractType\\:\\:getType\\(\\)$#"
count: 1
path: Classes/Core/Model/MultipleType.php
-
message: "#^Class Brotkrueml\\\\Schema\\\\Core\\\\TypeStack extends generic class SplStack but does not specify its types\\: TValue$#"
count: 1
path: Classes/Core/TypeStack.php
-
message: "#^Cannot call method setId\\(\\) on Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface\\|null\\.$#"
count: 1
path: Classes/Core/ViewHelpers/AbstractBaseTypeViewHelper.php
-
message: "#^Cannot call method setProperty\\(\\) on Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface\\|null\\.$#"
count: 1
path: Classes/Core/ViewHelpers/AbstractBaseTypeViewHelper.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\Hooks\\\\PageRenderer\\\\SchemaMarkupInjection\\:\\:execute\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
count: 1
path: Classes/Hooks/PageRenderer/SchemaMarkupInjection.php
-
message: "#^Array with keys is not allowed\\. Use value object to pass data instead$#"
count: 2
path: Classes/JsonLd/Renderer.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\JsonLd\\\\Renderer\\:\\:getPropertyValueForResult\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Classes/JsonLd/Renderer.php
-
message: "#^Property Brotkrueml\\\\Schema\\\\JsonLd\\\\Renderer\\:\\:\\$typeResult type has no value type specified in iterable type array\\.$#"
count: 1
path: Classes/JsonLd/Renderer.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\Lowlevel\\\\ConfigurationModuleProvider\\\\Types\\:\\:__invoke\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#"
count: 1
path: Classes/Lowlevel/ConfigurationModuleProvider/Types.php
-
message: "#^Cannot call method addProperty\\(\\) on Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface\\|null\\.$#"
count: 3
path: Classes/Manager/SchemaManager.php
-
message: "#^Cannot call method clearProperty\\(\\) on Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface\\|null\\.$#"
count: 1
path: Classes/Manager/SchemaManager.php
-
message: "#^Class cognitive complexity is 24, keep it under 20$#"
count: 1
path: Classes/Manager/SchemaManager.php
-
message: "#^Parameter \\#1 \\.\\.\\.\\$type of method Brotkrueml\\\\Schema\\\\JsonLd\\\\RendererInterface\\:\\:addType\\(\\) expects Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface, Brotkrueml\\\\Schema\\\\Core\\\\Model\\\\TypeInterface\\|null given\\.$#"
count: 1
path: Classes/Manager/SchemaManager.php
-
message: "#^Class cognitive complexity is 30, keep it under 20$#"
count: 1
path: Classes/Type/TypeRegistry.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\Type\\\\TypeRegistry\\:\\:loadConfiguration\\(\\) should return array\\<string, class\\-string\\> but returns array\\<int\\|string, string\\>\\.$#"
count: 1
path: Classes/Type/TypeRegistry.php
-
message: "#^Cannot call method error\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#"
count: 1
path: Classes/TypoScript/PropertiesAdder.php
-
message: "#^Cannot call method error\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#"
count: 1
path: Classes/TypoScript/TypeBuilder.php
-
message: "#^Do not use static property$#"
count: 4
path: Classes/ViewHelpers/AdminPanel/PropertyValueViewHelper.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\ViewHelpers\\\\AdminPanel\\\\PropertyValueViewHelper\\:\\:renderStatic\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#"
count: 1
path: Classes/ViewHelpers/AdminPanel/PropertyValueViewHelper.php
-
message: "#^Binary operation \"\\.\" between array\\<string, bool\\|string\\|null\\>\\|bool\\|string\\|null and string results in an error\\.$#"
count: 1
path: Classes/ViewHelpers/BreadcrumbViewHelper.php
-
message: "#^Parameter \\#2 \\$needle of function str_starts_with expects string, array\\<string, bool\\|string\\|null\\>\\|bool\\|string\\|null given\\.$#"
count: 1
path: Classes/ViewHelpers/BreadcrumbViewHelper.php
-
message: "#^Property Brotkrueml\\\\Schema\\\\ViewHelpers\\\\MultipleTypeViewHelper\\:\\:\\$types type has no value type specified in iterable type array\\.$#"
count: 1
path: Classes/ViewHelpers/MultipleTypeViewHelper.php
-
message: "#^Method Brotkrueml\\\\Schema\\\\ViewHelpers\\\\NodeIdentifierViewHelper\\:\\:renderStatic\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#"
count: 1
path: Classes/ViewHelpers/NodeIdentifierViewHelper.php