updated fixture and tried to adjust the files to the new EventPartici… #2929
main.yml
on: push
Coding Guidelines Check
12s
FE Asset Linting
17s
FE asset formatting check
17s
PHPMD
9s
Static Code Analysis
39s
Run frontend unit- and functional-tests
37s
Run E2E-tests via Cypress
0s
Run backend unit- and functional-tests
0s
Annotations
16 errors and 1 warning
PHPMD
Process completed with exit code 2.
|
Coding Guidelines Check
Process completed with exit code 8.
|
FE Asset Linting:
src/Resources/src/components/menu/MenuDay.vue#L73
'EventDTO' is defined but never used
|
FE Asset Linting
Process completed with exit code 1.
|
FE asset formatting check
Process completed with exit code 1.
|
Run frontend unit- and functional-tests
Process completed with exit code 1.
|
UndefinedMethod:
src/Mealz/MealBundle/Controller/MealGuestController.php#L104
src/Mealz/MealBundle/Controller/MealGuestController.php:104:47: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
InvalidReturnType:
src/Mealz/MealBundle/Entity/Day.php#L158
src/Mealz/MealBundle/Entity/Day.php:158:22: InvalidReturnType: The declared return type 'array{dateTime: DateTime, enabled: bool, event: int|null, lockParticipationDateTime: DateTime, meals: array<''|int, non-empty-list<array<array-key, mixed>>>, week: int|null}' for App\Mealz\MealBundle\Entity\Day::jsonSerialize is incorrect, got 'array{dateTime: DateTime, enabled: bool, events: array<never, never>, lockParticipationDateTime: DateTime, meals: array<''|int, non-empty-list<array{dateTime: DateTime, day: int|null, dish: null|string, id: int|null, lockTime: DateTime, participationLimit: int}>>, week: int|null}' which is different due to additional array shape fields (events) (see https://psalm.dev/011)
|
InvalidReturnStatement:
src/Mealz/MealBundle/Entity/Day.php#L180
src/Mealz/MealBundle/Entity/Day.php:180:16: InvalidReturnStatement: The inferred type 'array{dateTime: DateTime, enabled: bool, events: array<never, never>, lockParticipationDateTime: DateTime, meals: array<''|int, non-empty-list<array{dateTime: DateTime, day: int|null, dish: null|string, id: int|null, lockTime: DateTime, participationLimit: int}>>, week: int|null}' does not match the declared return type 'array{dateTime: DateTime, enabled: bool, event: int|null, lockParticipationDateTime: DateTime, meals: array<''|int, non-empty-list<array<array-key, mixed>>>, week: int|null}' for App\Mealz\MealBundle\Entity\Day::jsonSerialize due to additional array shape fields (events) (see https://psalm.dev/128)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/ApiService.php#L137
src/Mealz/MealBundle/Service/ApiService.php:137:28: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/ApiService.php#L142
src/Mealz/MealBundle/Service/ApiService.php:142:29: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/EventParticipationService.php#L59
src/Mealz/MealBundle/Service/EventParticipationService.php:59:37: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/EventParticipationService.php#L80
src/Mealz/MealBundle/Service/EventParticipationService.php:80:37: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/EventParticipationService.php#L112
src/Mealz/MealBundle/Service/EventParticipationService.php:112:46: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/EventParticipationService.php#L129
src/Mealz/MealBundle/Service/EventParticipationService.php:129:37: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Mealz/MealBundle/Service/EventParticipationService.php#L149
src/Mealz/MealBundle/Service/EventParticipationService.php:149:37: UndefinedMethod: Method App\Mealz\MealBundle\Entity\Day::getEvent does not exist (see https://psalm.dev/022)
|
PHPMD:
src/Mealz/UserBundle/DataFixtures/ORM/LoadUsers.php#L124
Avoid unused parameters such as '$email'.
|