Skip to content

changed MenuDay.vue, two events can now be input #2934

changed MenuDay.vue, two events can now be input

changed MenuDay.vue, two events can now be input #2934

Triggered via push July 26, 2024 13:29
Status Failure
Total duration 53s
Artifacts

main.yml

on: push
Coding Guidelines Check
18s
Coding Guidelines Check
FE Asset Linting
14s
FE Asset Linting
FE asset formatting check
15s
FE asset formatting check
PHPMD
9s
PHPMD
Static Code Analysis
36s
Static Code Analysis
Run frontend unit- and functional-tests
38s
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

16 errors and 2 warnings
PHPMD
Process completed with exit code 2.
FE asset formatting check
Process completed with exit code 1.
FE Asset Linting: src/Resources/src/components/menu/MenuDay.vue#L88
'getEventById' is assigned a value but never used
FE Asset Linting
Process completed with exit code 1.
Coding Guidelines Check
Process completed with exit code 8.
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'.