-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpstan-baseline.neon
126 lines (102 loc) · 4.58 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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$envKey of class Symfony\\\\Component\\\\Dotenv\\\\Dotenv constructor expects string, false given\\.$#"
count: 2
path: config/bootstrap.php
-
message: "#^Cognitive complexity for \"App\\\\Command\\\\SendEventUpdateCommand\\:\\:execute\\(\\)\" is 11, keep it under 8$#"
count: 1
path: src/Command/SendEventUpdateCommand.php
-
message: "#^Cognitive complexity for \"App\\\\Command\\\\SendNewsletterCommand\\:\\:execute\\(\\)\" is 17, keep it under 8$#"
count: 1
path: src/Command/SendNewsletterCommand.php
-
message: "#^Access to an undefined property object\\:\\:\\$image\\.$#"
count: 1
path: src/Command/UpdateBadgedataCommand.php
-
message: "#^Access to an undefined property object\\:\\:\\$title\\.$#"
count: 2
path: src/Command/UpdateBadgedataCommand.php
-
message: "#^Cognitive complexity for \"App\\\\Command\\\\UpdateBadgedataCommand\\:\\:resizeBadges\\(\\)\" is 11, keep it under 8$#"
count: 1
path: src/Command/UpdateBadgedataCommand.php
-
message: "#^Cognitive complexity for \"App\\\\Command\\\\UpdateBadgedataCommand\\:\\:scrapeBadges\\(\\)\" is 13, keep it under 8$#"
count: 1
path: src/Command/UpdateBadgedataCommand.php
-
message: "#^Cognitive complexity for \"App\\\\Command\\\\UpdateBadgedataCommand\\:\\:skipItem\\(\\)\" is 11, keep it under 8$#"
count: 1
path: src/Command/UpdateBadgedataCommand.php
-
message: "#^Cognitive complexity for \"App\\\\Controller\\\\DefaultController\\:\\:index\\(\\)\" is 9, keep it under 8$#"
count: 1
path: src/Controller/DefaultController.php
-
message: "#^Argument of an invalid type App\\\\Entity\\\\AgentStat supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/Controller/MigrateController.php
-
message: "#^Cognitive complexity for \"App\\\\Controller\\\\MigrateController\\:\\:getCsv\\(\\)\" is 13, keep it under 8$#"
count: 1
path: src/Controller/MigrateController.php
-
message: "#^Cognitive complexity for \"App\\\\Controller\\\\MigrateController\\:\\:upload\\(\\)\" is 9, keep it under 8$#"
count: 1
path: src/Controller/MigrateController.php
-
message: "#^Cognitive complexity for \"App\\\\Controller\\\\StatsController\\:\\:byDate\\(\\)\" is 19, keep it under 8$#"
count: 1
path: src/Controller/StatsController.php
-
message: "#^Cognitive complexity for \"App\\\\Controller\\\\StatsController\\:\\:statImport\\(\\)\" is 11, keep it under 8$#"
count: 1
path: src/Controller/StatsController.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\CsvParser\\:\\:parsePrimeCsv\\(\\)\" is 12, keep it under 8$#"
count: 1
path: src/Service/CsvParser.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\EventHelper\\:\\:calculateResults\\(\\)\" is 14, keep it under 8$#"
count: 1
path: src/Service/EventHelper.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\EventHelper\\:\\:getChallengesInSpan\\(\\)\" is 9, keep it under 8$#"
count: 1
path: src/Service/EventHelper.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\LeaderBoardService\\:\\:getBoard\\(\\)\" is 14, keep it under 8$#"
count: 1
path: src/Service/LeaderBoardService.php
-
message: "#^Call to an undefined method Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:setLocale\\(\\)\\.$#"
count: 1
path: src/Service/MedalChecker.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\MedalChecker\\:\\:getMedalLevel\\(\\)\" is 13, keep it under 8$#"
count: 1
path: src/Service/MedalChecker.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\StatsImporter\\:\\:getImportResult\\(\\)\" is 12, keep it under 8$#"
count: 1
path: src/Service/StatsImporter.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\StatsImporter\\:\\:sendResultMessages\\(\\)\" is 10, keep it under 8$#"
count: 1
path: src/Service/StatsImporter.php
-
message: "#^Cognitive complexity for \"App\\\\Service\\\\StatsImporter\\:\\:updateEntryFromCsv\\(\\)\" is 9, keep it under 8$#"
count: 1
path: src/Service/StatsImporter.php
-
message: "#^Cognitive complexity for \"App\\\\Type\\\\CustomMessage\\\\NotifyEventsMessage\\:\\:getMessage\\(\\)\" is 16, keep it under 8$#"
count: 1
path: src/Type/CustomMessage/NotifyEventsMessage.php
-
message: "#^Cognitive complexity for \"App\\\\Tests\\\\Controller\\\\ControllerAccessTest\\:\\:processRoutes\\(\\)\" is 16, keep it under 8$#"
count: 1
path: tests/Controller/ControllerAccessTest.php