-
Notifications
You must be signed in to change notification settings - Fork 15
/
phpstan-baseline.neon
182 lines (146 loc) · 10 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramApiBundle\\\\Entity\\\\ExternalAppRepository\\:\\:findByUser\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramApiBundle/Controller/AppController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramApiBundle\\\\Entity\\\\ExternalAppRepository\\:\\:getByUserAndId\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramApiBundle/Controller/AppController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramApiBundle\\\\Entity\\\\Authorization\\:\\:setUser\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface given\\.$#"
count: 1
path: src/Acts/CamdramApiBundle/EventListener/OAuthEventListener.php
-
message: "#^Call to an undefined method DOMNode\\:\\:setAttribute\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramApiBundle/Serializer/XmlEventSubscriber.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<T of Acts\\\\CamdramBundle\\\\Entity\\\\BaseEntity\\>\\:\\:findOneBySlug\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AbstractRestController.php
-
message: "#^Parameter \\#1 \\$issuer of method Acts\\\\CamdramSecurityBundle\\\\Entity\\\\PendingAccess\\:\\:setIssuer\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AdminController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Entity\\\\AccessControlEntry\\:\\:setUser\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AdminController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Entity\\\\AccessControlEntryRepository\\:\\:findAceRequest\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AdminController.php
-
message: "#^Parameter \\#3 \\$granter of method Acts\\\\CamdramSecurityBundle\\\\Security\\\\Acl\\\\AclProvider\\:\\:approveShowAccess\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AdminController.php
-
message: "#^Parameter \\#3 \\$granter of method Acts\\\\CamdramSecurityBundle\\\\Security\\\\Acl\\\\AclProvider\\:\\:grantAccess\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AdminController.php
-
message: "#^Parameter \\#3 \\$revoker of method Acts\\\\CamdramSecurityBundle\\\\Security\\\\Acl\\\\AclProvider\\:\\:revokeAccess\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User\\|null, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/AdminController.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<Acts\\\\CamdramBundle\\\\Entity\\\\ShowSlug\\>\\:\\:findOneBySlug\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/ContactController.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<Acts\\\\CamdramBundle\\\\Entity\\\\Society\\>\\:\\:findOneBySlug\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/ContactController.php
-
message: "#^Parameter \\#1 \\$p of method Doctrine\\\\Common\\\\Collections\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:exists\\(\\) expects Closure\\(int\\|string\\=, mixed\\=\\)\\: bool, Closure\\(mixed, mixed\\)\\: bool given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/EventController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Security\\\\Acl\\\\AclProvider\\:\\:getEntitiesByUser\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/ShowAdminController.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<Acts\\\\CamdramBundle\\\\Entity\\\\Show\\>\\:\\:findInDateRange\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/ShowController.php
-
message: "#^Parameter \\#1 \\$p of method Doctrine\\\\Common\\\\Collections\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:exists\\(\\) expects Closure\\(int\\|string\\=, mixed\\=\\)\\: bool, Closure\\(mixed, mixed\\)\\: bool given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/ShowController.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<Acts\\\\CamdramBundle\\\\Entity\\\\Venue\\>\\:\\:findAllOrderedByName\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Controller/VenueController.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<Acts\\\\CamdramBundle\\\\Entity\\\\Society\\>\\:\\:findOneBySlug\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/EventListener/ImageListener.php
-
message: "#^Call to function is_null\\(\\) with Oneup\\\\UploaderBundle\\\\Uploader\\\\File\\\\FileInterface\\|Symfony\\\\Component\\\\HttpFoundation\\\\File\\\\File will always evaluate to false\\.$#"
count: 1
path: src/Acts/CamdramBundle/EventListener/ImageListener.php
-
message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getUnitOfWork\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/EventListener/ShowListener.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: src/Acts/CamdramBundle/Form/DataTransformer/EntityCollectionTransformer.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Acts/CamdramBundle/Form/DataTransformer/EntityCollectionTransformer.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<object\\>\\:\\:findOneByName\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Form/Type/EntitySearchType.php
-
message: "#^Parameter \\#1 \\$func of method Doctrine\\\\Common\\\\Collections\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:map\\(\\) expects Closure\\(mixed\\=\\)\\: mixed, Closure\\(mixed\\)\\: mixed given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Service/EmailDispatcher.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Security\\\\Acl\\\\AclProvider\\:\\:getOrganisationsByUser\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Service/ModerationManager.php
-
message: "#^Parameter \\#3 \\$authorisedBy of method Acts\\\\CamdramBundle\\\\Service\\\\EmailDispatcher\\:\\:sendShowApprovedEmail\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramBundle/Service/ModerationManager.php
-
message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:getUnitOfWork\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramBundle/Service/SlugHandler.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Security\\\\Acl\\\\AclProvider\\:\\:getEntitiesByUser\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 3
path: src/Acts/CamdramSecurityBundle/Controller/AccountController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Service\\\\EmailDispatcher\\:\\:resendEmailVerifyEmail\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramSecurityBundle/Controller/AccountController.php
-
message: "#^Parameter \\#1 \\$user of method Acts\\\\CamdramSecurityBundle\\\\Service\\\\TokenGenerator\\:\\:generateEmailConfirmationToken\\(\\) expects Acts\\\\CamdramSecurityBundle\\\\Entity\\\\User, Symfony\\\\Component\\\\Security\\\\Core\\\\User\\\\UserInterface\\|null given\\.$#"
count: 1
path: src/Acts/CamdramSecurityBundle/Controller/AccountController.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\TokenInterface\\:\\:getResourceOwnerName\\(\\)\\.$#"
count: 1
path: src/Acts/CamdramSecurityBundle/EventListener/LastLoginTimeListener.php
-
message: "#^Parameter \\#1 \\$func of method Doctrine\\\\Common\\\\Collections\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:map\\(\\) expects Closure\\(mixed\\=\\)\\: mixed, Closure\\(mixed\\)\\: mixed given\\.$#"
count: 1
path: src/Acts/CamdramSecurityBundle/Security/Acl/AclProvider.php
-
message: "#^Variable \\$ptags might not be defined\\.$#"
count: 1
path: src/Acts/CamdramSecurityBundle/Security/RavenResourceOwner.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 2
path: src/Acts/DiaryBundle/Diary/DiaryRow.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/Acts/DiaryBundle/Diary/Renderer/ICalRenderer.php