Skip to content

Repair PHPStan GHA #3075

Repair PHPStan GHA

Repair PHPStan GHA #3075

Triggered via pull request July 4, 2025 12:15
@vmcjvmcj
synchronize #3012
vmcj-patch-2
Status Failure
Total duration 5m 50s
Artifacts 1

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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
5.5 KB
sha256:4ba16c79ef85170892773a99d45d624d760a489c566663acfa20c4bcff00ffe5