Skip to content

Commit af00d7e

Browse files
Introduce first set of DTO's.
1 parent 8e7a31b commit af00d7e

File tree

85 files changed

+1496
-1364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1496
-1364
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,6 @@ parameters:
1010
count: 1
1111
path: webapp/src/Controller/API/AbstractRestController.php
1212

13-
-
14-
message: "#^Method App\\\\Controller\\\\API\\\\AccessController\\:\\:getStatusAction\\(\\) return type has no value type specified in iterable type array\\.$#"
15-
count: 1
16-
path: webapp/src/Controller/API/AccessController.php
17-
18-
-
19-
message: "#^Method App\\\\Controller\\\\API\\\\AwardsController\\:\\:getAwardsData\\(\\) return type has no value type specified in iterable type array\\.$#"
20-
count: 1
21-
path: webapp/src/Controller/API/AwardsController.php
22-
23-
-
24-
message: "#^Method App\\\\Controller\\\\API\\\\AwardsController\\:\\:listAction\\(\\) return type has no value type specified in iterable type array\\.$#"
25-
count: 1
26-
path: webapp/src/Controller/API/AwardsController.php
27-
28-
-
29-
message: "#^Method App\\\\Controller\\\\API\\\\AwardsController\\:\\:singleAction\\(\\) return type has no value type specified in iterable type array\\.$#"
30-
count: 1
31-
path: webapp/src/Controller/API/AwardsController.php
32-
33-
-
34-
message: "#^Method App\\\\Controller\\\\API\\\\BalloonController\\:\\:listAction\\(\\) return type has no value type specified in iterable type array\\.$#"
35-
count: 1
36-
path: webapp/src/Controller/API/BalloonController.php
37-
38-
-
39-
message: "#^Method App\\\\Controller\\\\API\\\\ContestController\\:\\:getContestStateAction\\(\\) return type has no value type specified in iterable type array\\.$#"
40-
count: 1
41-
path: webapp/src/Controller/API/ContestController.php
42-
43-
-
44-
message: "#^Method App\\\\Controller\\\\API\\\\ContestController\\:\\:getStatusAction\\(\\) return type has no value type specified in iterable type array\\.$#"
45-
count: 1
46-
path: webapp/src/Controller/API/ContestController.php
47-
4813
-
4914
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:addProblemAction\\(\\) return type has no value type specified in iterable type array\\.$#"
5015
count: 1
@@ -55,21 +20,6 @@ parameters:
5520
count: 1
5621
path: webapp/src/Controller/API/GeneralInfoController.php
5722

58-
-
59-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:getInfoAction\\(\\) return type has no value type specified in iterable type array\\.$#"
60-
count: 1
61-
path: webapp/src/Controller/API/GeneralInfoController.php
62-
63-
-
64-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:getStatusAction\\(\\) return type has no value type specified in iterable type array\\.$#"
65-
count: 1
66-
path: webapp/src/Controller/API/GeneralInfoController.php
67-
68-
-
69-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:getVersionAction\\(\\) return type has no value type specified in iterable type array\\.$#"
70-
count: 1
71-
path: webapp/src/Controller/API/GeneralInfoController.php
72-
7323
-
7424
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:updateConfigurationAction\\(\\) return type has no value type specified in iterable type array\\.$#"
7525
count: 1
@@ -85,76 +35,16 @@ parameters:
8535
count: 1
8636
path: webapp/src/Controller/API/JudgehostController.php
8737

88-
-
89-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getExecutableFiles\\(\\) return type has no value type specified in iterable type array\\.$#"
90-
count: 1
91-
path: webapp/src/Controller/API/JudgehostController.php
92-
93-
-
94-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getFilesAction\\(\\) return type has no value type specified in iterable type array\\.$#"
95-
count: 1
96-
path: webapp/src/Controller/API/JudgehostController.php
97-
98-
-
99-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getJudgeTasksAction\\(\\) return type has no value type specified in iterable type array\\.$#"
100-
count: 1
101-
path: webapp/src/Controller/API/JudgehostController.php
102-
103-
-
104-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getJudgehostsAction\\(\\) return type has no value type specified in iterable type array\\.$#"
105-
count: 1
106-
path: webapp/src/Controller/API/JudgehostController.php
107-
108-
-
109-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getJudgetasks\\(\\) return type has no value type specified in iterable type array\\.$#"
110-
count: 1
111-
path: webapp/src/Controller/API/JudgehostController.php
112-
113-
-
114-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getSourceFiles\\(\\) return type has no value type specified in iterable type array\\.$#"
115-
count: 1
116-
path: webapp/src/Controller/API/JudgehostController.php
117-
118-
-
119-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getTestcaseFiles\\(\\) return type has no value type specified in iterable type array\\.$#"
120-
count: 1
121-
path: webapp/src/Controller/API/JudgehostController.php
122-
12338
-
12439
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getVersionCommands\\(\\) return type has no value type specified in iterable type array\\.$#"
12540
count: 1
12641
path: webapp/src/Controller/API/JudgehostController.php
12742

128-
-
129-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:serializeJudgeTasks\\(\\) return type has no value type specified in iterable type array\\.$#"
130-
count: 1
131-
path: webapp/src/Controller/API/JudgehostController.php
132-
13343
-
13444
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:updateJudgeHostAction\\(\\) return type has no value type specified in iterable type array\\.$#"
13545
count: 1
13646
path: webapp/src/Controller/API/JudgehostController.php
13747

138-
-
139-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:getJudgementTypes\\(\\) has parameter \\$filteredOn with no value type specified in iterable type array\\.$#"
140-
count: 1
141-
path: webapp/src/Controller/API/JudgementTypeController.php
142-
143-
-
144-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:getJudgementTypes\\(\\) return type has no value type specified in iterable type array\\.$#"
145-
count: 1
146-
path: webapp/src/Controller/API/JudgementTypeController.php
147-
148-
-
149-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:listAction\\(\\) return type has no value type specified in iterable type array\\.$#"
150-
count: 1
151-
path: webapp/src/Controller/API/JudgementTypeController.php
152-
153-
-
154-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:singleAction\\(\\) return type has no value type specified in iterable type array\\.$#"
155-
count: 1
156-
path: webapp/src/Controller/API/JudgementTypeController.php
157-
15848
-
15949
message: "#^Method App\\\\Controller\\\\API\\\\ProblemController\\:\\:addProblemAction\\(\\) return type has no value type specified in iterable type array\\.$#"
16050
count: 1
@@ -169,17 +59,6 @@ parameters:
16959
message: "#^Method App\\\\Controller\\\\API\\\\ProblemController\\:\\:transformObject\\(\\) has parameter \\$object with no value type specified in iterable type array\\.$#"
17060
count: 1
17161
path: webapp/src/Controller/API/ProblemController.php
172-
173-
-
174-
message: "#^Method App\\\\Controller\\\\API\\\\ScoreboardController\\:\\:getScoreboardAction\\(\\) return type has no value type specified in iterable type array\\.$#"
175-
count: 1
176-
path: webapp/src/Controller/API/ScoreboardController.php
177-
178-
-
179-
message: "#^Method App\\\\Controller\\\\API\\\\SubmissionController\\:\\:getSubmissionSourceCodeAction\\(\\) return type has no value type specified in iterable type array\\.$#"
180-
count: 1
181-
path: webapp/src/Controller/API/SubmissionController.php
182-
18362
-
18463
message: "#^Method App\\\\FosRestBundle\\\\FlattenExceptionHandler\\:\\:serializeToJson\\(\\) has parameter \\$type with no value type specified in iterable type array\\.$#"
18564
count: 1
@@ -191,21 +70,7 @@ parameters:
19170
path: webapp/src/FosRestBundle/FlattenExceptionHandler.php
19271

19372
-
194-
message: "#^Method App\\\\Helpers\\\\OrdinalArray\\:\\:__construct\\(\\) has parameter \\$items with no value type specified in iterable type Traversable\\.$#"
195-
count: 1
196-
path: webapp/src/Helpers/OrdinalArray.php
19773

198-
-
199-
message: "#^Method App\\\\Helpers\\\\OrdinalArray\\:\\:__construct\\(\\) has parameter \\$items with no value type specified in iterable type array\\.$#"
200-
count: 1
201-
path: webapp/src/Helpers/OrdinalArray.php
202-
203-
-
204-
message: "#^Method App\\\\Helpers\\\\OrdinalArray\\:\\:__construct\\(\\) has parameter \\$items with no value type specified in iterable type array\\|Traversable\\.$#"
205-
count: 1
206-
path: webapp/src/Helpers/OrdinalArray.php
207-
208-
-
20974
message: "#^Method App\\\\Service\\\\ExternalContestSourceService\\:\\:addOrUpdateWarning\\(\\) has parameter \\$content with no value type specified in iterable type array\\.$#"
21075
count: 1
21176
path: webapp/src/Service/ExternalContestSourceService.php

0 commit comments

Comments
 (0)