generated from dunglas/symfony-docker
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
216 lines (174 loc) · 9.41 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
212
213
214
215
216
parameters:
ignoreErrors:
-
message: "#^Method App\\\\ApiResource\\\\User\\:\\:createFrom\\(\\) has no return type specified\\.$#"
count: 1
path: src/ApiResource/User.php
-
message: "#^Parameter \\#1 \\$username of class App\\\\ApiResource\\\\User constructor expects string, string\\|null given\\.$#"
count: 1
path: src/ApiResource/User.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 2
path: src/Command/User/CreateUserCommand.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: src/Command/User/DemoteUserCommand.php
-
message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: non\\-falsy\\-string given\\.$#"
count: 1
path: src/Command/User/DemoteUserCommand.php
-
message: "#^Cannot cast mixed to string\\.$#"
count: 1
path: src/Command/User/PromoteUserCommand.php
-
message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: non\\-falsy\\-string given\\.$#"
count: 1
path: src/Command/User/PromoteUserCommand.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getGpsLat\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getGpsLng\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getId\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getInseeCode\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getName\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getSlug\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\City\\:\\:getZipCode\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Department\\:\\:getCities\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Department\\:\\:getCode\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Department\\:\\:getId\\(\\)\\.$#"
count: 3
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Department\\:\\:getName\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Department\\:\\:getSlug\\(\\)\\.$#"
count: 1
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Region\\:\\:getCode\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Region\\:\\:getDepartments\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Region\\:\\:getId\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Region\\:\\:getName\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method App\\\\Entity\\\\Region\\:\\:getSlug\\(\\)\\.$#"
count: 2
path: src/Controller/ApiController.php
-
message: "#^Call to an undefined method object\\:\\:setPassword\\(\\)\\.$#"
count: 1
path: src/Controller/ResetPasswordController.php
-
message: "#^Only booleans are allowed in a negated boolean, App\\\\Entity\\\\User\\|null given\\.$#"
count: 1
path: src/Controller/ResetPasswordController.php
-
message: "#^Only booleans are allowed in an if condition, string\\|null given\\.$#"
count: 1
path: src/Controller/ResetPasswordController.php
-
message: "#^Parameter \\#1 \\$emailFormData of method App\\\\Controller\\\\ResetPasswordController\\:\\:processSendingPasswordResetEmail\\(\\) expects string, mixed given\\.$#"
count: 1
path: src/Controller/ResetPasswordController.php
-
message: "#^Parameter \\#1 \\$user of method Symfony\\\\Component\\\\PasswordHasher\\\\Hasher\\\\UserPasswordHasherInterface\\:\\:hashPassword\\(\\) expects Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\PasswordAuthenticatedUserInterface, object given\\.$#"
count: 1
path: src/Controller/ResetPasswordController.php
-
message: "#^Parameter \\#2 \\$plainPassword of method Symfony\\\\Component\\\\PasswordHasher\\\\Hasher\\\\UserPasswordHasherInterface\\:\\:hashPassword\\(\\) expects string, mixed given\\.$#"
count: 1
path: src/Controller/ResetPasswordController.php
-
message: "#^Method App\\\\Entity\\\\ResetPasswordRequest\\:\\:getUser\\(\\) should return object but returns App\\\\Entity\\\\User\\|null\\.$#"
count: 1
path: src/Entity/ResetPasswordRequest.php
-
message: "#^Class App\\\\Form\\\\ChangePasswordFormType extends generic class Symfony\\\\Component\\\\Form\\\\AbstractType but does not specify its types\\: TData$#"
count: 1
path: src/Form/ChangePasswordFormType.php
-
message: "#^Class App\\\\Form\\\\ResetPasswordRequestFormType extends generic class Symfony\\\\Component\\\\Form\\\\AbstractType but does not specify its types\\: TData$#"
count: 1
path: src/Form/ResetPasswordRequestFormType.php
-
message: "#^Method App\\\\Repository\\\\CityRepository\\:\\:findByNameLike\\(\\) should return array\\<App\\\\Entity\\\\City\\> but returns mixed\\.$#"
count: 1
path: src/Repository/CityRepository.php
-
message: "#^Parameter \\#2 \\$user of class App\\\\Entity\\\\ResetPasswordRequest constructor expects App\\\\Entity\\\\User\\|null, object given\\.$#"
count: 1
path: src/Repository/ResetPasswordRequestRepository.php
-
message: "#^Class App\\\\Repository\\\\UserRepository implements generic interface Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\PasswordUpgraderInterface but does not specify its types\\: TUser$#"
count: 1
path: src/Repository/UserRepository.php
-
message: "#^Method App\\\\Repository\\\\UserRepository\\:\\:findOneByUsername\\(\\) should return App\\\\Entity\\\\User\\|null but returns mixed\\.$#"
count: 1
path: src/Repository/UserRepository.php
-
message: "#^Parameter \\#1 \\$password of class Symfony\\\\Component\\\\Security\\\\Http\\\\Authenticator\\\\Passport\\\\Credentials\\\\PasswordCredentials constructor expects string, bool\\|float\\|int\\|string given\\.$#"
count: 1
path: src/Security/UsernamePasswordAuthenticator.php
-
message: "#^Parameter \\#1 \\$userIdentifier of class Symfony\\\\Component\\\\Security\\\\Http\\\\Authenticator\\\\Passport\\\\Badge\\\\UserBadge constructor expects string, bool\\|float\\|int\\|string given\\.$#"
count: 1
path: src/Security/UsernamePasswordAuthenticator.php
-
message: "#^Parameter \\#2 \\$csrfToken of class Symfony\\\\Component\\\\Security\\\\Http\\\\Authenticator\\\\Passport\\\\Badge\\\\CsrfTokenBadge constructor expects string\\|null, bool\\|float\\|int\\|string\\|null given\\.$#"
count: 1
path: src/Security/UsernamePasswordAuthenticator.php
-
message: "#^Call to an undefined method App\\\\Repository\\\\CityRepository\\:\\:findOneById\\(\\)\\.$#"
count: 1
path: src/State/MeasureStateProvider.php
-
message: "#^Class App\\\\State\\\\MeasureStateProvider implements generic interface ApiPlatform\\\\State\\\\ProviderInterface but does not specify its types\\: T$#"
count: 1
path: src/State/MeasureStateProvider.php
-
message: "#^Class App\\\\State\\\\UserDtoProvider implements generic interface ApiPlatform\\\\State\\\\ProviderInterface but does not specify its types\\: T$#"
count: 1
path: src/State/UserDtoProvider.php