forked from iodigital-com/SecretSanta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
172 lines (138 loc) · 7.62 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$year of class App\\\\Query\\\\Season constructor expects int\\|null, string given\\.$#"
count: 1
path: src/Command/ExportMailsCommand.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Participant\\>\\:\\:findOneByUrl\\(\\)\\.$#"
count: 1
path: src/Controller/TrackingController.php
-
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:addListener\\(\\)\\.$#"
count: 1
path: src/Controller/TrackingController.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Entity/BlacklistEmail.php
-
message: "#^Method App\\\\Entity\\\\Participant\\:\\:getWishlistItems\\(\\) should return Doctrine\\\\Common\\\\Collections\\\\ArrayCollection&iterable\\<App\\\\Entity\\\\WishlistItem\\> but returns array\\<App\\\\Entity\\\\WishlistItem\\>\\.$#"
count: 1
path: src/Entity/Participant.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Entity/Participant.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Participant\\>\\:\\:findAdminByPartyId\\(\\)\\.$#"
count: 1
path: src/Form/Handler/AddParticipantFormHandler.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Participant\\>\\:\\:findOneUnseenByPartyId\\(\\)\\.$#"
count: 1
path: src/Form/Handler/AddParticipantFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\AddParticipantFormHandler\\:\\:\\$em \\(Doctrine\\\\ORM\\\\EntityManager\\) does not accept Doctrine\\\\ORM\\\\EntityManagerInterface\\.$#"
count: 1
path: src/Form/Handler/AddParticipantFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\AddParticipantFormHandler\\:\\:\\$session \\(Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\Session\\) does not accept Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\.$#"
count: 1
path: src/Form/Handler/AddParticipantFormHandler.php
-
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:setLocale\\(\\)\\.$#"
count: 1
path: src/Form/Handler/ContactFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\ContactFormHandler\\:\\:\\$session \\(Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\Session\\) does not accept Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\.$#"
count: 1
path: src/Form/Handler/ContactFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\ForgotUrlFormHandler\\:\\:\\$session \\(Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\Session\\) does not accept Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\.$#"
count: 1
path: src/Form/Handler/ForgotUrlFormHandler.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\:\\:getFlashBag\\(\\)\\.$#"
count: 2
path: src/Form/Handler/JoinParticipantFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\ReuseFormHandler\\:\\:\\$session \\(Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\Session\\) does not accept Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\.$#"
count: 1
path: src/Form/Handler/ReuseFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\SendMessageFormHandler\\:\\:\\$em \\(Doctrine\\\\ORM\\\\EntityManager\\) does not accept Doctrine\\\\ORM\\\\EntityManagerInterface\\.$#"
count: 1
path: src/Form/Handler/SendMessageFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\SendMessageFormHandler\\:\\:\\$session \\(Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\Session\\) does not accept Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\.$#"
count: 1
path: src/Form/Handler/SendMessageFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\UnsubscribeFormHandler\\:\\:\\$session \\(Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\Session\\) does not accept Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\.$#"
count: 1
path: src/Form/Handler/UnsubscribeFormHandler.php
-
message: "#^Property App\\\\Form\\\\Handler\\\\WishlistFormHandler\\:\\:\\$em \\(Doctrine\\\\ORM\\\\EntityManager\\) does not accept Doctrine\\\\ORM\\\\EntityManagerInterface\\.$#"
count: 1
path: src/Form/Handler/WishlistFormHandler.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Participant\\>\\:\\:findAllParticipantsForForgotEmail\\(\\)\\.$#"
count: 1
path: src/Mailer/MailerService.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Party\\>\\:\\:findAllAdminParties\\(\\)\\.$#"
count: 1
path: src/Mailer/MailerService.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Party\\>\\:\\:findPartiesToReuse\\(\\)\\.$#"
count: 1
path: src/Mailer/MailerService.php
-
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:setLocale\\(\\)\\.$#"
count: 14
path: src/Mailer/MailerService.php
-
message: "#^Parameter \\#3 \\$referenceType of method Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\:\\:generate\\(\\) expects int, true given\\.$#"
count: 1
path: src/Service/ExportService.php
-
message: "#^Property App\\\\Service\\\\ParticipantService\\:\\:\\$em \\(Doctrine\\\\ORM\\\\EntityManager\\) does not accept Doctrine\\\\ORM\\\\EntityManagerInterface\\.$#"
count: 1
path: src/Service/ParticipantService.php
-
message: "#^Strict comparison using \\=\\=\\= between DateTime and null will always evaluate to false\\.$#"
count: 1
path: src/Service/ParticipantService.php
-
message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#"
count: 1
path: src/Service/ParticipantService.php
-
message: "#^Property App\\\\Service\\\\PartyService\\:\\:\\$em \\(Doctrine\\\\ORM\\\\EntityManager\\) does not accept Doctrine\\\\ORM\\\\EntityManagerInterface\\.$#"
count: 1
path: src/Service/PartyService.php
-
message: "#^Parameter \\#1 \\$year of method App\\\\Query\\\\ReportQuery\\:\\:getPartyReport\\(\\) expects int\\|null, string given\\.$#"
count: 1
path: src/Service/ReportQueriesService.php
-
message: "#^Parameter \\#1 \\$year of method App\\\\Query\\\\SeasonComparisonReportQuery\\:\\:getComparison\\(\\) expects int, string given\\.$#"
count: 1
path: src/Service/ReportQueriesService.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<App\\\\Entity\\\\Participant\\>\\:\\:findAllByEmail\\(\\)\\.$#"
count: 1
path: src/Service/UnsubscribeService.php
-
message: "#^Property App\\\\Service\\\\UnsubscribeService\\:\\:\\$em \\(Doctrine\\\\ORM\\\\EntityManager\\) does not accept Doctrine\\\\ORM\\\\EntityManagerInterface\\.$#"
count: 1
path: src/Service/UnsubscribeService.php
-
message: "#^Access to an undefined property Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:\\$messageNoUniqueMatch\\.$#"
count: 1
path: src/Validator/ParticipantHasValidExcludesValidator.php
-
message: "#^Access to an undefined property Symfony\\\\Component\\\\Validator\\\\Constraint\\:\\:\\$message\\.$#"
count: 1
path: src/Validator/PartyHasValidExcludesValidator.php