Skip to content

Commit

Permalink
Introduce first set of DTO's.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickygerritsen committed Feb 9, 2024
1 parent 8e7a31b commit af00d7e
Show file tree
Hide file tree
Showing 85 changed files with 1,496 additions and 1,364 deletions.
135 changes: 0 additions & 135 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,6 @@ parameters:
count: 1
path: webapp/src/Controller/API/AbstractRestController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\AccessController\\:\\:getStatusAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/AccessController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\AwardsController\\:\\:getAwardsData\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/AwardsController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\AwardsController\\:\\:listAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/AwardsController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\AwardsController\\:\\:singleAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/AwardsController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\BalloonController\\:\\:listAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/BalloonController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\ContestController\\:\\:getContestStateAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/ContestController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\ContestController\\:\\:getStatusAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/ContestController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:addProblemAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
Expand All @@ -55,21 +20,6 @@ parameters:
count: 1
path: webapp/src/Controller/API/GeneralInfoController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:getInfoAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/GeneralInfoController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:getStatusAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/GeneralInfoController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:getVersionAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/GeneralInfoController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\GeneralInfoController\\:\\:updateConfigurationAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
Expand All @@ -85,76 +35,16 @@ parameters:
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getExecutableFiles\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getFilesAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getJudgeTasksAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getJudgehostsAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getJudgetasks\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getSourceFiles\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getTestcaseFiles\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:getVersionCommands\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:serializeJudgeTasks\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgehostController\\:\\:updateJudgeHostAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgehostController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:getJudgementTypes\\(\\) has parameter \\$filteredOn with no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgementTypeController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:getJudgementTypes\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgementTypeController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:listAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgementTypeController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\JudgementTypeController\\:\\:singleAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/JudgementTypeController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\ProblemController\\:\\:addProblemAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
Expand All @@ -169,17 +59,6 @@ parameters:
message: "#^Method App\\\\Controller\\\\API\\\\ProblemController\\:\\:transformObject\\(\\) has parameter \\$object with no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/ProblemController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\ScoreboardController\\:\\:getScoreboardAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/ScoreboardController.php

-
message: "#^Method App\\\\Controller\\\\API\\\\SubmissionController\\:\\:getSubmissionSourceCodeAction\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Controller/API/SubmissionController.php

-
message: "#^Method App\\\\FosRestBundle\\\\FlattenExceptionHandler\\:\\:serializeToJson\\(\\) has parameter \\$type with no value type specified in iterable type array\\.$#"
count: 1
Expand All @@ -191,21 +70,7 @@ parameters:
path: webapp/src/FosRestBundle/FlattenExceptionHandler.php

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

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

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

-
message: "#^Method App\\\\Service\\\\ExternalContestSourceService\\:\\:addOrUpdateWarning\\(\\) has parameter \\$content with no value type specified in iterable type array\\.$#"
count: 1
path: webapp/src/Service/ExternalContestSourceService.php
Expand Down
Loading

0 comments on commit af00d7e

Please sign in to comment.