forked from rezzza/SecurityBundle
-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan-baseline.neon
211 lines (170 loc) · 10.1 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
parameters:
ignoreErrors:
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Controller\\\\Annotations\\\\ObfuscateRequest\\:\\:__construct\\(\\) has parameter \\$obfuscatedPatterns with no value type specified in iterable type array\\.$#"
count: 1
path: Controller/Annotations/ObfuscateRequest.php
-
message: "#^Call to method getMethodAnnotation\\(\\) on an unknown class Doctrine\\\\Common\\\\Annotations\\\\Reader\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Class Rezzza\\\\SecurityBundle\\\\DataCollector\\\\RequestDataCollector extends @final class Symfony\\\\Component\\\\HttpKernel\\\\DataCollector\\\\RequestDataCollector\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Parameter \\#1 \\$data of method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\ObfuscatorInterface\\:\\:obfuscate\\(\\) expects array, array\\|Symfony\\\\Component\\\\VarDumper\\\\Cloner\\\\Data given\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Parameter \\$annotationReader of method Rezzza\\\\SecurityBundle\\\\DataCollector\\\\RequestDataCollector\\:\\:__construct\\(\\) has invalid type Doctrine\\\\Common\\\\Annotations\\\\Reader\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Property Rezzza\\\\SecurityBundle\\\\DataCollector\\\\RequestDataCollector\\:\\:\\$annotationReader has unknown class Doctrine\\\\Common\\\\Annotations\\\\Reader as its type\\.$#"
count: 1
path: DataCollector/RequestDataCollector.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#"
count: 1
path: DependencyInjection/Security/Factory/RequestSignatureFactory.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\DependencyInjection\\\\Security\\\\Factory\\\\RequestSignatureFactory\\:\\:createReplayProtection\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1
path: DependencyInjection/Security/Factory/RequestSignatureFactory.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\DependencyInjection\\\\Security\\\\Factory\\\\RequestSignatureFactory\\:\\:createSignatureConfig\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1
path: DependencyInjection/Security/Factory/RequestSignatureFactory.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\DependencyInjection\\\\Security\\\\Factory\\\\RequestSignatureFactory\\:\\:createSignatureQueryParameters\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1
path: DependencyInjection/Security/Factory/RequestSignatureFactory.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\DependencyInjection\\\\Security\\\\Factory\\\\RequestSignatureFactory\\:\\:getPosition\\(\\) has no return type specified\\.$#"
count: 1
path: DependencyInjection/Security/Factory/RequestSignatureFactory.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\ObfuscatorInterface\\:\\:obfuscate\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: Request/Obfuscator/ObfuscatorInterface.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\ObfuscatorInterface\\:\\:obfuscate\\(\\) has parameter \\$obfuscatedPatterns with no value type specified in iterable type array\\.$#"
count: 1
path: Request/Obfuscator/ObfuscatorInterface.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\ObfuscatorInterface\\:\\:obfuscate\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Request/Obfuscator/ObfuscatorInterface.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscate\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscate\\(\\) has parameter \\$obfuscatedPatterns with no value type specified in iterable type array\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscate\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscateContent\\(\\) has no return type specified\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscateContent\\(\\) has parameter \\$content with no type specified\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscateContentWithPattern\\(\\) has no return type specified\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscateContentWithPattern\\(\\) has parameter \\$content with no type specified\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Obfuscator\\\\RequestObfuscator\\:\\:obfuscateContentWithPattern\\(\\) has parameter \\$pattern with no type specified\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, bool\\|float\\|int\\|string given\\.$#"
count: 1
path: Request/Obfuscator/RequestObfuscator.php
-
message: "#^Binary operation \"\\.\\=\" between 0\\|0\\.0\\|array\\{\\}\\|string\\|false\\|null and non\\-falsy\\-string results in an error\\.$#"
count: 1
path: Request/Psr7RequestSigner.php
-
message: "#^Call to method getBody\\(\\) on an unknown class Psr\\\\Http\\\\Message\\\\RequestInterface\\.$#"
count: 1
path: Request/Psr7RequestSigner.php
-
message: "#^Call to method getMethod\\(\\) on an unknown class Psr\\\\Http\\\\Message\\\\RequestInterface\\.$#"
count: 1
path: Request/Psr7RequestSigner.php
-
message: "#^Call to method getUri\\(\\) on an unknown class Psr\\\\Http\\\\Message\\\\RequestInterface\\.$#"
count: 3
path: Request/Psr7RequestSigner.php
-
message: "#^Call to method withUri\\(\\) on an unknown class Psr\\\\Http\\\\Message\\\\RequestInterface\\.$#"
count: 1
path: Request/Psr7RequestSigner.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Request\\\\Psr7RequestSigner\\:\\:sign\\(\\) has invalid return type Psr\\\\Http\\\\Message\\\\RequestInterface\\.$#"
count: 1
path: Request/Psr7RequestSigner.php
-
message: "#^Parameter \\$request of method Rezzza\\\\SecurityBundle\\\\Request\\\\Psr7RequestSigner\\:\\:sign\\(\\) has invalid type Psr\\\\Http\\\\Message\\\\RequestInterface\\.$#"
count: 1
path: Request/Psr7RequestSigner.php
-
message: "#^Parameter \\#1 \\$method of class Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\SignedRequest constructor expects string, mixed given\\.$#"
count: 1
path: Security/Firewall/RequestSignatureListener.php
-
message: "#^Parameter \\#1 \\$signature of method Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\SignedRequest\\:\\:authenticateSignature\\(\\) expects string, mixed given\\.$#"
count: 1
path: Security/Firewall/RequestSignatureListener.php
-
message: "#^Parameter \\#1 \\$user of class Rezzza\\\\SecurityBundle\\\\Security\\\\SignatureValidToken constructor expects Rezzza\\\\SecurityBundle\\\\Security\\\\SignatureValidUser, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface given\\.$#"
count: 1
path: Security/Firewall/RequestSignatureListener.php
-
message: "#^Parameter \\#1 \\$userIdentifier of class Symfony\\\\Component\\\\Security\\\\Http\\\\Authenticator\\\\Passport\\\\Badge\\\\UserBadge constructor expects string, mixed given\\.$#"
count: 1
path: Security/Firewall/RequestSignatureListener.php
-
message: "#^Parameter \\#2 \\$host of class Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\SignedRequest constructor expects string, mixed given\\.$#"
count: 1
path: Security/Firewall/RequestSignatureListener.php
-
message: "#^Property Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\RequestSignatureListener\\:\\:\\$tokenStorage is never read, only written\\.$#"
count: 1
path: Security/Firewall/RequestSignatureListener.php
-
message: "#^Class Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\RequestSignatureProdiver implements generic interface Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserProviderInterface but does not specify its types\\: TUser$#"
count: 1
path: Security/Firewall/RequestSignatureProdiver.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\RequestSignatureProdiver\\:\\:loadUserByUsername\\(\\) has parameter \\$username with no type specified\\.$#"
count: 1
path: Security/Firewall/RequestSignatureProdiver.php
-
message: "#^Method Rezzza\\\\SecurityBundle\\\\Security\\\\Firewall\\\\RequestSignatureProdiver\\:\\:supportsClass\\(\\) has parameter \\$class with no type specified\\.$#"
count: 1
path: Security/Firewall/RequestSignatureProdiver.php