Skip to content

Bump to symfony ^6.4 || ^7.0 #2302

Bump to symfony ^6.4 || ^7.0

Bump to symfony ^6.4 || ^7.0 #2302

Re-run triggered December 22, 2023 14:54
Status Failure
Total duration 58s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
2s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Lint symfony container
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / Lint twig files
Matrix: run / Lint XLIFF files
Matrix: run / Lint YML files
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 10 warnings
run / Lint symfony container (8.3)
Process completed with exit code 1.
run / Test: PHP 8.2, Symfony 7.0, lowest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - doctrine/mongodb-odm-bundle 4.4.0 requires doctrine/mongodb-odm 2.3.x-dev -> found doctrine/mongodb-odm[2.3.x-dev] but it does not match your minimum-stability. - doctrine/mongodb-odm-bundle[4.4.1, ..., 4.5.3] require symfony/config ^4.4|^5.3|^6.0 -> found symfony/config[v4.4.0, ..., v4.4.44, v5.3.0, ..., v5.4.31, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require. - doctrine/mongodb-odm-bundle[4.6.0, ..., 4.7.0] require symfony/config ^5.4 || ^6.2 -> found symfony/config[v5.4.0, ..., v5.4.31, v6.2.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires doctrine/mongodb-odm-bundle ^4.4 -> satisfiable by doctrine/mongodb-odm-bundle[4.4.0, ..., 4.7.0].
run / Test: PHP 8.2, Symfony 7.0, lowest)
Process completed with exit code 2.
run / Test: PHP 8.2, Symfony 7.0, highest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - doctrine/mongodb-odm-bundle 4.4.0 requires doctrine/mongodb-odm 2.3.x-dev -> found doctrine/mongodb-odm[2.3.x-dev] but it does not match your minimum-stability. - doctrine/mongodb-odm-bundle[4.4.1, ..., 4.5.3] require symfony/config ^4.4|^5.3|^6.0 -> found symfony/config[v4.4.0, ..., v4.4.44, v5.3.0, ..., v5.4.31, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require. - doctrine/mongodb-odm-bundle[4.6.0, ..., 4.7.0] require symfony/config ^5.4 || ^6.2 -> found symfony/config[v5.4.0, ..., v5.4.31, v6.2.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires doctrine/mongodb-odm-bundle ^4.4 -> satisfiable by doctrine/mongodb-odm-bundle[4.4.0, ..., 4.7.0].
run / Test: PHP 8.2, Symfony 7.0, highest)
Process completed with exit code 2.
run / Test: PHP 8.3, Symfony 7.0, lowest)
The job was canceled because "_8_2_7_0_lowest" failed.
run / Test: PHP 8.3, Symfony 7.0, lowest)
The operation was canceled.
InternalClass: src/NucleosUserBundle.php#L44
src/NucleosUserBundle.php:44:41: InternalClass: Doctrine\Bundle\MongoDBBundle\DependencyInjection\Compiler\DoctrineMongoDBMappingsPass is internal to Doctrine but called from Nucleos\UserBundle\NucleosUserBundle (see https://psalm.dev/174)
InternalMethod: src/NucleosUserBundle.php#L44
src/NucleosUserBundle.php:44:41: InternalMethod: The method Doctrine\Bundle\MongoDBBundle\DependencyInjection\Compiler\DoctrineMongoDBMappingsPass::createXmlMappingDriver is internal to Doctrine but called from Nucleos\UserBundle\NucleosUserBundle::addRegisterMappingsPass (see https://psalm.dev/175)
run / Static Code Analysis (8.3)
Process completed with exit code 2.
run / Test: PHP 8.2, Symfony 6.4, highest)
The job was canceled because "_8_2_7_0_lowest" failed.
run / Test: PHP 8.2, Symfony 6.4, highest)
The operation was canceled.
run / Test: PHP 8.3, Symfony 7.0, highest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - doctrine/mongodb-odm-bundle 4.4.0 requires doctrine/mongodb-odm 2.3.x-dev -> found doctrine/mongodb-odm[2.3.x-dev] but it does not match your minimum-stability. - doctrine/mongodb-odm-bundle[4.4.1, ..., 4.5.3] require symfony/config ^4.4|^5.3|^6.0 -> found symfony/config[v4.4.0, ..., v4.4.44, v5.3.0, ..., v5.4.31, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require. - doctrine/mongodb-odm-bundle[4.6.0, ..., 4.7.0] require symfony/config ^5.4 || ^6.2 -> found symfony/config[v5.4.0, ..., v5.4.31, v6.2.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires doctrine/mongodb-odm-bundle ^4.4 -> satisfiable by doctrine/mongodb-odm-bundle[4.4.0, ..., 4.7.0].
run / Test: PHP 8.3, Symfony 7.0, highest)
The operation was canceled.
run / Test: PHP 8.3, Symfony 6.4, lowest)
The operation was canceled.
run / Test: PHP 8.3, Symfony 6.4, highest)
The operation was canceled.
run / Test: PHP 8.2, Symfony 6.4, lowest)
The operation was canceled.
run / Mutation Tests (8.3): src/Action/LoginAction.php#L65
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function __invoke(Request $request) : Response { $event = new GetResponseLoginEvent($request); - $this->eventDispatcher->dispatch($event, NucleosUserEvents::SECURITY_LOGIN_INITIALIZE); + if (null !== $event->getResponse()) { return $event->getResponse(); }
run / Mutation Tests (8.3): src/Action/LoginAction.php#L72
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if (null !== $event->getResponse()) { return $event->getResponse(); } - $form = $this->formFactory->create(LoginFormType::class, null, ['action' => $this->router->generate('nucleos_user_security_check'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'security.login.submit']); + $form = $this->formFactory->create(LoginFormType::class, null, ['method' => 'POST'])->add('save', SubmitType::class, ['label' => 'security.login.submit']); return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); } }
run / Mutation Tests (8.3): src/Action/LoginAction.php#L76
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if (null !== $event->getResponse()) { return $event->getResponse(); } - $form = $this->formFactory->create(LoginFormType::class, null, ['action' => $this->router->generate('nucleos_user_security_check'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'security.login.submit']); + $form = $this->formFactory->create(LoginFormType::class, null, ['action' => $this->router->generate('nucleos_user_security_check'), 'method' => 'POST'])->add('save', SubmitType::class, []); return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); } }
run / Mutation Tests (8.3): src/Action/LoginAction.php#L83
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ return $event->getResponse(); } $form = $this->formFactory->create(LoginFormType::class, null, ['action' => $this->router->generate('nucleos_user_security_check'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'security.login.submit']); - return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); + return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' > $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); } }
run / Mutation Tests (8.3): src/Action/LoginAction.php#L84
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ return $event->getResponse(); } $form = $this->formFactory->create(LoginFormType::class, null, ['action' => $this->router->generate('nucleos_user_security_check'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'security.login.submit']); - return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); + return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' > $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); } }
run / Mutation Tests (8.3): src/Action/LoginAction.php#L85
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ return $event->getResponse(); } $form = $this->formFactory->create(LoginFormType::class, null, ['action' => $this->router->generate('nucleos_user_security_check'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'security.login.submit']); - return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' => $this->csrfTokenManager->getToken('authenticate')])); + return new Response($this->twig->render('@NucleosUser/Security/login.html.twig', ['form' => $form->createView(), 'last_username' => $this->authenticationUtils->getLastUsername(), 'error' => $this->authenticationUtils->getLastAuthenticationError(), 'csrf_token' > $this->csrfTokenManager->getToken('authenticate')])); } }
run / Mutation Tests (8.3): src/Action/RequestResetAction.php#L95
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function __invoke(Request $request) : Response { $form = $this->createForm(); - $form->handleRequest($request); + if ($form->isSubmitted() && $form->isValid()) { $response = $this->process($request); $this->getFlashBag($request)?->add('success', $this->translator->trans('resetting.check_email', ['%tokenLifetime%' => ceil($this->retryTtl / 3600)], 'NucleosUserBundle'));
run / Mutation Tests (8.3): src/Action/RequestResetAction.php#L97
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ { $form = $this->createForm(); $form->handleRequest($request); - if ($form->isSubmitted() && $form->isValid()) { + if ($form->isSubmitted() && !$form->isValid()) { $response = $this->process($request); $this->getFlashBag($request)?->add('success', $this->translator->trans('resetting.check_email', ['%tokenLifetime%' => ceil($this->retryTtl / 3600)], 'NucleosUserBundle')); if (null !== $response) {
run / Mutation Tests (8.3): src/Action/RequestResetAction.php#L198
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function createForm() : FormInterface { - return $this->formFactory->create(RequestPasswordFormType::class, null, ['action' => $this->router->generate('nucleos_user_resetting_request'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'resetting.request.submit']); + return $this->formFactory->create(RequestPasswordFormType::class, null, ['method' => 'POST'])->add('save', SubmitType::class, ['label' => 'resetting.request.submit']); } }
run / Mutation Tests (8.3): src/Action/RequestResetAction.php#L202
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function createForm() : FormInterface { - return $this->formFactory->create(RequestPasswordFormType::class, null, ['action' => $this->router->generate('nucleos_user_resetting_request'), 'method' => 'POST'])->add('save', SubmitType::class, ['label' => 'resetting.request.submit']); + return $this->formFactory->create(RequestPasswordFormType::class, null, ['action' => $this->router->generate('nucleos_user_resetting_request'), 'method' => 'POST'])->add('save', SubmitType::class, []); } }