Repair PHPStan GHA #3066
Annotations
10 errors
phpstan:
webapp/src/Entity/Contest.php#L939
Method App\Entity\Contest::getLanguages() return type with generic interface Doctrine\Common\Collections\Collection does not specify its types: TKey, T
|
phpstan:
webapp/src/Controller/Jury/ProblemController.php#L598
Variable $error might not be defined.
|
phpstan:
webapp/src/Controller/API/PrintController.php#L94
Throwing object of an unknown class App\Controller\API\BadRequestHttpException.
|
phpstan:
webapp/src/Controller/API/PrintController.php#L94
Instantiated class App\Controller\API\BadRequestHttpException not found.
|
phpstan:
webapp/src/Controller/API/JudgehostController.php#L1659
Variable $judgetasks in empty() always exists and is not falsy.
|
phpstan:
webapp/src/Command/ScoreboardMergeCommand.php#L316
Parameter #9 $penaltyTime of class App\Utils\Scoreboard\Scoreboard constructor expects int, false given.
|
phpstan:
webapp/src/Command/ScoreboardMergeCommand.php#L315
Parameter #8 $jury of class App\Utils\Scoreboard\Scoreboard constructor expects bool, int given.
|
phpstan:
webapp/src/Command/ScoreboardMergeCommand.php#L314
Parameter #7 $freezeData of class App\Utils\Scoreboard\Scoreboard constructor expects App\Utils\FreezeData, false given.
|
phpstan:
webapp/src/Command/ScoreboardMergeCommand.php#L313
Parameter #6 $rankCache of class App\Utils\Scoreboard\Scoreboard constructor expects array, App\Utils\FreezeData|null given.
|
phpstan:
webapp/src/Command/ScoreboardMergeCommand.php#L307
Class App\Utils\Scoreboard\Scoreboard constructor invoked with 9 parameters, 10 required.
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
artifact
|
3.41 KB |
sha256:3035c5e4a46051794bb476020fb7f41b30a103c04ab952eb6c7a3ed596936061
|
|