Skip to content

Bump to symfony ^6.4 || ^7.0 #1694

Bump to symfony ^6.4 || ^7.0

Bump to symfony ^6.4 || ^7.0 #1694

Triggered via pull request February 4, 2024 17:00
Status Failure
Total duration 1m 38s
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

22 errors and 23 warnings
run / Lint symfony container (8.3)
Process completed with exit code 255.
run / Lint twig files (8.3)
Process completed with exit code 255.
run / Lint XLIFF files (8.3)
Process completed with exit code 255.
run / Static Code Analysis (8.3): src/Action/EditProfileAction.php#L45
Property Nucleos\ProfileBundle\Action\EditProfileAction::$security has unknown class Symfony\Component\Security\Core\Security as its type.
run / Static Code Analysis (8.3): src/Action/EditProfileAction.php#L53
Parameter $security of method Nucleos\ProfileBundle\Action\EditProfileAction::__construct() has invalid type Symfony\Component\Security\Core\Security.
run / Static Code Analysis (8.3): src/Action/EditProfileAction.php#L65
Call to method getUser() on an unknown class Symfony\Component\Security\Core\Security.
run / Static Code Analysis (8.3): src/Action/RegistrationConfirmedAction.php#L27
Property Nucleos\ProfileBundle\Action\RegistrationConfirmedAction::$security has unknown class Symfony\Component\Security\Core\Security as its type.
run / Static Code Analysis (8.3): src/Action/RegistrationConfirmedAction.php#L31
Parameter $security of method Nucleos\ProfileBundle\Action\RegistrationConfirmedAction::__construct() has invalid type Symfony\Component\Security\Core\Security.
run / Static Code Analysis (8.3): src/Action/RegistrationConfirmedAction.php#L43
Call to method getUser() on an unknown class Symfony\Component\Security\Core\Security.
run / Static Code Analysis (8.3): src/Action/ShowProfileAction.php#L24
Property Nucleos\ProfileBundle\Action\ShowProfileAction::$security has unknown class Symfony\Component\Security\Core\Security as its type.
run / Static Code Analysis (8.3): src/Action/ShowProfileAction.php#L26
Parameter $security of method Nucleos\ProfileBundle\Action\ShowProfileAction::__construct() has invalid type Symfony\Component\Security\Core\Security.
run / Static Code Analysis (8.3): src/Action/ShowProfileAction.php#L34
Call to method getUser() on an unknown class Symfony\Component\Security\Core\Security.
run / Static Code Analysis (8.3)
Process completed with exit code 2.
run / Lint YML files (8.3)
Process completed with exit code 255.
run / Test: PHP 8.2, Symfony 7.0, highest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - symfony/framework-bundle[v5.4.19, ..., v5.4.35] require symfony/cache ^5.2|^6.0 -> found symfony/cache[v5.2.0, ..., v5.4.35, v6.0.0, ..., v6.4.3] but these were not loaded, likely because it conflicts with another require. - symfony/framework-bundle[v6.2.5, ..., v6.3.12] require symfony/cache ^5.4|^6.0 -> found symfony/cache[v5.4.0, ..., v5.4.35, v6.0.0, ..., v6.4.3] but these were not loaded, likely because it conflicts with another require. - symfony/framework-bundle[v6.4.0, ..., v6.4.3] require symfony/http-kernel ^6.4 -> found symfony/http-kernel[v6.4.0, v6.4.1, v6.4.2, v6.4.3] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires symfony/framework-bundle ^5.4.19 || ^6.2.5 -> satisfiable by symfony/framework-bundle[v5.4.19, ..., v5.4.35, v6.2.5, ..., v6.4.3].
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_highest" failed.
run / Test: PHP 8.3, Symfony 7.0, 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 6.4, highest)
The job was canceled because "_8_2_7_0_highest" failed.
run / Test: PHP 8.2, Symfony 7.0, lowest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - symfony/framework-bundle[v5.4.19, ..., v5.4.35] require symfony/cache ^5.2|^6.0 -> found symfony/cache[v5.2.0, ..., v5.4.35, v6.0.0, ..., v6.4.3] but these were not loaded, likely because it conflicts with another require. - symfony/framework-bundle[v6.2.5, ..., v6.3.12] require symfony/cache ^5.4|^6.0 -> found symfony/cache[v5.4.0, ..., v5.4.35, v6.0.0, ..., v6.4.3] but these were not loaded, likely because it conflicts with another require. - symfony/framework-bundle[v6.4.0, ..., v6.4.3] require symfony/http-kernel ^6.4 -> found symfony/http-kernel[v6.4.0, v6.4.1, v6.4.2, v6.4.3] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires symfony/framework-bundle ^5.4.19 || ^6.2.5 -> satisfiable by symfony/framework-bundle[v5.4.19, ..., v5.4.35, v6.2.5, ..., v6.4.3].
run / Test: PHP 8.2, Symfony 7.0, lowest)
Process completed with exit code 2.
run / Lint composer.json (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Coding Standards (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Code Coverage (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Lint symfony container (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Lint twig files (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Lint XLIFF files (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Static Code Analysis (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Mutation Tests (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Mutation Tests (8.3): src/Action/RegistrationAction.php#L63
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $user = $this->userManager->createUser(); $event = new GetResponseRegistrationEvent($user, $request); - $this->eventDispatcher->dispatch($event, NucleosProfileEvents::REGISTRATION_INITIALIZE); + if (null !== $event->getResponse()) { return $event->getResponse(); }
run / Mutation Tests (8.3): src/Action/RegistrationAction.php#L70
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ return $event->getResponse(); } $form = $this->createForm($user); - $form->handleRequest($request); + if ($form->isSubmitted()) { if ($form->isValid()) { return $this->updateUser($request, $user, $form);
run / Mutation Tests (8.3): src/Action/RegistrationAction.php#L112
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function createForm(UserInterface $user) : FormInterface { - return $this->formFactory->create(RegistrationFormType::class, $user, ['validation_groups' => ['Registration', 'User', 'Default']])->add('save', SubmitType::class, ['label' => 'registration.submit']); + return $this->formFactory->create(RegistrationFormType::class, $user, [])->add('save', SubmitType::class, ['label' => 'registration.submit']); } }
run / Mutation Tests (8.3): src/Action/RegistrationAction.php#L113
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function createForm(UserInterface $user) : FormInterface { - return $this->formFactory->create(RegistrationFormType::class, $user, ['validation_groups' => ['Registration', 'User', 'Default']])->add('save', SubmitType::class, ['label' => 'registration.submit']); + return $this->formFactory->create(RegistrationFormType::class, $user, ['validation_groups' => ['User', 'Default']])->add('save', SubmitType::class, ['label' => 'registration.submit']); } }
run / Mutation Tests (8.3): src/Action/RegistrationAction.php#L115
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } private function createForm(UserInterface $user) : FormInterface { - return $this->formFactory->create(RegistrationFormType::class, $user, ['validation_groups' => ['Registration', 'User', 'Default']])->add('save', SubmitType::class, ['label' => 'registration.submit']); + return $this->formFactory->create(RegistrationFormType::class, $user, ['validation_groups' => ['Registration', 'User', 'Default']])->add('save', SubmitType::class, []); } }
run / Mutation Tests (8.3): src/DependencyInjection/NucleosProfileExtension.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $configuration = new Configuration(); $config = $processor->processConfiguration($configuration, $configs); $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); - $loader->load('mailer.php'); + $loader->load('listeners.php'); $this->loadRegistration($config['registration'], $container, $loader); $this->loadProfile($loader);
run / Mutation Tests (8.3): src/DependencyInjection/NucleosProfileExtension.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); $loader->load('mailer.php'); $loader->load('listeners.php'); - $this->loadRegistration($config['registration'], $container, $loader); + $this->loadProfile($loader); $container->setAlias('nucleos_profile.mailer', $config['service']['mailer']); }
run / Mutation Tests (8.3): src/DependencyInjection/NucleosProfileExtension.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $loader->load('mailer.php'); $loader->load('listeners.php'); $this->loadRegistration($config['registration'], $container, $loader); - $this->loadProfile($loader); + $container->setAlias('nucleos_profile.mailer', $config['service']['mailer']); } /**
run / Mutation Tests (8.3): src/DependencyInjection/NucleosProfileExtension.php#L48
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ private function loadRegistration(array $config, ContainerBuilder $container, FileLoader $loader) : void { - $loader->load('registration.php'); + if (true === $config['confirmation']['enabled']) { $loader->load('email_confirmation.php'); }
run / Mutation Tests (8.3): src/DependencyInjection/NucleosProfileExtension.php#L50
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ private function loadRegistration(array $config, ContainerBuilder $container, FileLoader $loader) : void { $loader->load('registration.php'); - if (true === $config['confirmation']['enabled']) { + if (true !== $config['confirmation']['enabled']) { $loader->load('email_confirmation.php'); } $container->setParameter('nucleos_profile.registration.confirmation.from_email', $config['confirmation']['from_email']);
run / Lint YML files (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Test: PHP 8.2, Symfony 6.4, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Test: PHP 8.2, Symfony 6.4, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Test: PHP 8.2, Symfony 7.0, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run / Test: PHP 8.2, Symfony 7.0, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.