Skip to content

Continuous Integration #1776

Continuous Integration

Continuous Integration #1776

Triggered via create January 5, 2025 16:19
Status Failure
Total duration 2m 40s
Artifacts
run  /  Generate test matrix
2s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 17 warnings
run / Static Code Analysis (8.3): tests/Form/Type/TypeTestCase.php#L42
Return type (array) of method Nucleos\ProfileBundle\Tests\Form\Type\TypeTestCase::getTypeExtensions() should be covariant with return type (array<Symfony\Component\Form\FormTypeExtensionInterface>) of method Symfony\Component\Form\Test\FormIntegrationTestCase::getTypeExtensions()
run / Static Code Analysis (8.3): tests/Form/Type/TypeTestCase.php#L50
Return type (array) of method Nucleos\ProfileBundle\Tests\Form\Type\TypeTestCase::getTypes() should be covariant with return type (array<Symfony\Component\Form\FormTypeInterface>) of method Symfony\Component\Form\Test\FormIntegrationTestCase::getTypes()
run / Static Code Analysis (8.3)
Process completed with exit code 2.
run / Test: PHP 8.2, Symfony 7.0, highest)
Process completed with exit code 2.
run / Test: PHP 8.3, Symfony 6.4, highest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.2, Symfony 6.4, lowest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.3, Symfony 7.0, lowest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.2, Symfony 7.0, lowest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.2, Symfony 6.4, highest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.3, Symfony 6.4, lowest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.3, Symfony 7.0, highest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Generate test matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run / Static Code Analysis (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run / Code Coverage (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run / Lint composer.json (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run / Test: PHP 8.2, Symfony 7.0, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run / Mutation Tests (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run / Mutation Tests (8.3): src/Action/ConfirmRegistrationAction.php#L59
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $user->setConfirmationToken(null); $user->setEnabled(true); $event = new GetResponseUserEvent($user, $request); - $this->eventDispatcher->dispatch($event, NucleosProfileEvents::REGISTRATION_CONFIRM); + $userManager->updateUser($user); if (null === $response = $event->getResponse()) { $url = $this->router->generate('nucleos_profile_registration_confirmed');
run / Mutation Tests (8.3): src/Action/ConfirmRegistrationAction.php#L68
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $url = $this->router->generate('nucleos_profile_registration_confirmed'); $response = new RedirectResponse($url); } - $this->eventDispatcher->dispatch(new FilterUserResponseEvent($user, $request, $response), NucleosProfileEvents::REGISTRATION_CONFIRMED); + return $response; } }
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L67
Escaped Mutant for Mutator "InstanceOf_": @@ @@ public function __invoke(Request $request): Response { $user = $this->security->getUser(); - if (!$user instanceof UserInterface) { + if (!true) { throw new AccessDeniedException('This user does not have access to this section.'); } $event = new GetResponseUserEvent($user, $request);
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L72
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ throw new AccessDeniedException('This user does not have access to this section.'); } $event = new GetResponseUserEvent($user, $request); - $this->eventDispatcher->dispatch($event, NucleosProfileEvents::PROFILE_EDIT_INITIALIZE); + if (null !== $event->getResponse()) { return $event->getResponse(); }
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L93
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ private function updateUser(Request $request, FormInterface $form, UserInterface $user): Response { $event = new UserFormEvent($user, $form, $request); - $this->eventDispatcher->dispatch($event, NucleosProfileEvents::PROFILE_EDIT_SUCCESS); + $this->userManager->updateUser($user); if (null === $response = $event->getResponse()) { $response = new RedirectResponse($this->router->generate('nucleos_profile_profile_show'));
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L101
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ if (null === $response = $event->getResponse()) { $response = new RedirectResponse($this->router->generate('nucleos_profile_profile_show')); } - $this->eventDispatcher->dispatch(new FilterUserResponseEvent($user, $request, $response), NucleosProfileEvents::PROFILE_EDIT_COMPLETED); + return $response; } private function createForm(UserInterface $user): FormInterface
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L112
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ } private function createForm(UserInterface $user): FormInterface { - return $this->formFactory->create(ProfileFormType::class, $user, ['validation_groups' => ['Profile', 'User', 'Default']])->add('save', SubmitType::class, ['label' => 'profile.edit.submit']); + return $this->formFactory->create(ProfileFormType::class, $user, [])->add('save', SubmitType::class, ['label' => 'profile.edit.submit']); } }
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L113
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ } private function createForm(UserInterface $user): FormInterface { - return $this->formFactory->create(ProfileFormType::class, $user, ['validation_groups' => ['Profile', 'User', 'Default']])->add('save', SubmitType::class, ['label' => 'profile.edit.submit']); + return $this->formFactory->create(ProfileFormType::class, $user, ['validation_groups' => ['User', 'Default']])->add('save', SubmitType::class, ['label' => 'profile.edit.submit']); } }
run / Mutation Tests (8.3): src/Action/EditProfileAction.php#L115
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ } private function createForm(UserInterface $user): FormInterface { - return $this->formFactory->create(ProfileFormType::class, $user, ['validation_groups' => ['Profile', 'User', 'Default']])->add('save', SubmitType::class, ['label' => 'profile.edit.submit']); + return $this->formFactory->create(ProfileFormType::class, $user, ['validation_groups' => ['Profile', 'User', 'Default']])->add('save', SubmitType::class, []); } }
run / Mutation Tests (8.3): src/Action/RegistrationAction.php#L95
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ { $event = new UserFormEvent($user, $form, $request); $this->eventDispatcher->dispatch($event, NucleosProfileEvents::REGISTRATION_SUCCESS); - $this->userManager->updateUser($user); + if (null === $response = $event->getResponse()) { $response = new RedirectResponse($this->router->generate('nucleos_profile_registration_confirmed')); }
run / Coding Standards (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636