Skip to content

Use php-cs-fixer

Use php-cs-fixer #43

Triggered via pull request March 10, 2024 21:15
Status Failure
Total duration 42s
Artifacts

php.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors
PHP 8.3: src/Action/Online/WorkshopExercise.php#L92
Parameter #1 $data of method PhpSchool\Website\Action\Online\WorkshopExercise::maybeAddOfficialSolution() expects array{student: PhpSchool\Website\User\StudentDTO, workshop: PhpSchool\Website\Online\CloudInstalledWorkshop, exercise: array{name: string, slug: string, description: string, type: string}, problem: string, totalExerciseCount: int}, array{student: PhpSchool\Website\User\StudentDTO, workshop: PhpSchool\Website\Online\CloudInstalledWorkshop, exercise: array{name: string, slug: string, description: string, type: PhpSchool\PhpWorkshop\Exercise\ExerciseType}, problem: string, totalExerciseCount: int} given.
PHP 8.3
Process completed with exit code 1.
PHP 8.2: src/Action/Online/WorkshopExercise.php#L92
Parameter #1 $data of method PhpSchool\Website\Action\Online\WorkshopExercise::maybeAddOfficialSolution() expects array{student: PhpSchool\Website\User\StudentDTO, workshop: PhpSchool\Website\Online\CloudInstalledWorkshop, exercise: array{name: string, slug: string, description: string, type: string}, problem: string, totalExerciseCount: int}, array{student: PhpSchool\Website\User\StudentDTO, workshop: PhpSchool\Website\Online\CloudInstalledWorkshop, exercise: array{name: string, slug: string, description: string, type: PhpSchool\PhpWorkshop\Exercise\ExerciseType}, problem: string, totalExerciseCount: int} given.
PHP 8.2
Process completed with exit code 1.