Skip to content

fix: move persisting user to catch statement #3871

fix: move persisting user to catch statement

fix: move persisting user to catch statement #3871

Triggered via push June 16, 2026 09:55
Status Failure
Total duration 1m 14s
Artifacts

main.yml

on: push
Coding Guidelines Check
29s
Coding Guidelines Check
FE Asset Linting
28s
FE Asset Linting
FE asset formatting check
19s
FE asset formatting check
PHPMD
12s
PHPMD
Static Code Analysis
33s
Static Code Analysis
Run frontend type check
29s
Run frontend type check
Run frontend unit- and functional-tests
1m 1s
Run frontend unit- and functional-tests
Build Development Docker Images
0s
Build Development Docker Images
Build Docker Images
0s
Build Docker Images
Matrix: 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

9 errors and 1 warning
FE Asset Linting
Process completed with exit code 1.
FE Asset Linting: src/Resources/src/stores/participationsStore.ts#L213
'getProfileId' is defined but never used
Static Code Analysis
Process completed with exit code 2.
InvalidOperand: src/Mealz/MealBundle/Tests/Controller/ParticipantControllerTest.php#L95
src/Mealz/MealBundle/Tests/Controller/ParticipantControllerTest.php:95:45: InvalidOperand: Cannot concatenate with a int|null (see https://psalm.dev/058)
InvalidArgument: src/Mealz/MealBundle/Tests/Controller/ParticipantControllerTest.php#L91
src/Mealz/MealBundle/Tests/Controller/ParticipantControllerTest.php:91:47: InvalidArgument: Argument 1 of App\Mealz\MealBundle\Tests\Controller\ParticipantControllerTest::getUserProfile expects int|null, but 'alice.meals' provided (see https://psalm.dev/004)
InvalidArgument: src/Mealz/MealBundle/Service/GuestParticipationService.php#L96
src/Mealz/MealBundle/Service/GuestParticipationService.php:96:25: InvalidArgument: Argument 1 of App\Mealz\UserBundle\Entity\Profile::setId expects int|null, but non-empty-string provided (see https://psalm.dev/004)
Coding Guidelines Check
Process completed with exit code 8.
Run frontend unit- and functional-tests
Process completed with exit code 1.
tests/unit/stores/participationsStore.spec.ts > Test participationsStore > should return the profile id: src/Resources/tests/unit/stores/participationsStore.spec.ts#L135
TypeError: getProfileId is not a function ❯ tests/unit/stores/participationsStore.spec.ts:135:20
FE Asset Linting: src/Resources/src/components/NavBar.vue#L65
Attribute "v-show" should go before ":key"