Skip to content

updated dashboard to show both events (not working yet) #2935

updated dashboard to show both events (not working yet)

updated dashboard to show both events (not working yet) #2935

Triggered via push July 26, 2024 14:36
Status Failure
Total duration 57s
Artifacts

main.yml

on: push
Coding Guidelines Check
14s
Coding Guidelines Check
FE Asset Linting
18s
FE Asset Linting
FE asset formatting check
18s
FE asset formatting check
PHPMD
10s
PHPMD
Static Code Analysis
36s
Static Code Analysis
Run frontend unit- and functional-tests
43s
Run frontend unit- and functional-tests
Build Docker Images
0s
Build Docker Images
Run E2E-tests via Cypress
0s
Run E2E-tests via Cypress
Run backend unit- and functional-tests
0s
Run backend unit- and functional-tests
Publish
0s
Publish
Scan vulnerabilities
0s
Scan vulnerabilities
Deploy and notify
0s
Deploy and notify
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
PHPMD
Process completed with exit code 2.
Coding Guidelines Check
Process completed with exit code 8.
FE asset formatting check
Process completed with exit code 1.
TooFewArguments: src/Mealz/MealBundle/Controller/EventController.php#L108
src/Mealz/MealBundle/Controller/EventController.php:108:52: TooFewArguments: Too few arguments for App\Mealz\MealBundle\Service\EventParticipationService::join - expecting eventId to be passed (see https://psalm.dev/025)
TooFewArguments: src/Mealz/MealBundle/Controller/EventController.php#L108
src/Mealz/MealBundle/Controller/EventController.php:108:52: TooFewArguments: Too few arguments for method App\Mealz\MealBundle\Service\EventParticipationService::join saw 2 (see https://psalm.dev/025)
InvalidArgument: src/Mealz/MealBundle/Controller/EventController.php#L115
src/Mealz/MealBundle/Controller/EventController.php:115:86: InvalidArgument: Argument 2 of App\Mealz\MealBundle\Service\EventParticipationService::getEventParticipationData expects int|null, but App\Mealz\UserBundle\Entity\Profile provided (see https://psalm.dev/004)
TooFewArguments: src/Mealz/MealBundle/Controller/EventController.php#L127
src/Mealz/MealBundle/Controller/EventController.php:127:52: TooFewArguments: Too few arguments for App\Mealz\MealBundle\Service\EventParticipationService::leave - expecting eventId to be passed (see https://psalm.dev/025)
TooFewArguments: src/Mealz/MealBundle/Controller/EventController.php#L127
src/Mealz/MealBundle/Controller/EventController.php:127:52: TooFewArguments: Too few arguments for method App\Mealz\MealBundle\Service\EventParticipationService::leave saw 2 (see https://psalm.dev/025)
InvalidArgument: src/Mealz/MealBundle/Controller/EventController.php#L134
src/Mealz/MealBundle/Controller/EventController.php:134:86: InvalidArgument: Argument 2 of App\Mealz\MealBundle\Service\EventParticipationService::getEventParticipationData expects int|null, but App\Mealz\UserBundle\Entity\Profile provided (see https://psalm.dev/004)
TooFewArguments: src/Mealz/MealBundle/Controller/EventController.php#L145
src/Mealz/MealBundle/Controller/EventController.php:145:54: TooFewArguments: Too few arguments for App\Mealz\MealBundle\Service\EventParticipationService::getParticipants - expecting eventId to be passed (see https://psalm.dev/025)
TooFewArguments: src/Mealz/MealBundle/Controller/EventController.php#L145
src/Mealz/MealBundle/Controller/EventController.php:145:54: TooFewArguments: Too few arguments for method App\Mealz\MealBundle\Service\EventParticipationService::getparticipants saw 1 (see https://psalm.dev/025)
UndefinedMethod: src/Mealz/MealBundle/Controller/MealAdminController.php#L236
src/Mealz/MealBundle/Controller/MealAdminController.php:236:28: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::offsetGet does not exist (see https://psalm.dev/022)
TooFewArguments: src/Mealz/MealBundle/Controller/MealGuestController.php#L104
src/Mealz/MealBundle/Controller/MealGuestController.php:104:47: TooFewArguments: Too few arguments for App\Mealz\MealBundle\Entity\Day::getEvent - expecting day to be passed (see https://psalm.dev/025)
Run frontend unit- and functional-tests
Process completed with exit code 1.
PHPMD: src/Mealz/MealBundle/Controller/MealAdminController.php#L205
Avoid unused local variables such as '$eventCollection'.
PHPMD: src/Mealz/UserBundle/DataFixtures/ORM/LoadUsers.php#L124
Avoid unused parameters such as '$email'.