Skip to content

Add PHP 8.4 to test matrix #2707

Add PHP 8.4 to test matrix

Add PHP 8.4 to test matrix #2707

Re-run triggered December 4, 2024 17:52
Status Failure
Total duration 1m 26s
Artifacts

integrate.yaml

on: pull_request
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Compile Phar
Matrix: Dependency Analysis
Matrix: Mutation Tests
Matrix: Refactoring
Matrix: Security Analysis
Matrix: Static Code Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 33 warnings
Tests (8.4, highest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.26.1 -> satisfiable by vimeo/psalm[5.26.1, 5.x-dev]. - vimeo/psalm[5.26.1, ..., 5.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.1) does not satisfy that requirement.
Tests (8.4, highest)
Process completed with exit code 2.
Tests (8.4, lowest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires vimeo/psalm ^5.26.1 -> satisfiable by vimeo/psalm[5.26.1, 5.x-dev]. - vimeo/psalm[5.26.1, ..., 5.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.1) does not satisfy that requirement.
Tests (8.4, lowest)
Process completed with exit code 2.
Refactoring (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Dependency Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Compile Phar (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Security Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.3, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.3, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.0, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (7.4, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.1, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.2, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coding Standards (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.1, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.1, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.0, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static Code Analysis (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.0, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.3, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (7.4, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Coverage (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (8.2, lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation Tests (7.4, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L295
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if (true === $input->getOption('diff') || true === $input->getOption('dry-run')) { $io->writeError(\sprintf('<error>%s is not normalized.</error>', $composerFile)); $diff = $this->differ->diff($json->encoded(), $normalized->encoded()); - $io->write(['', '<fg=yellow>---------- begin diff ----------</>', self::formatDiff($diff), '<fg=yellow>----------- end diff -----------</>', '']); + $io->write(['<fg=yellow>---------- begin diff ----------</>', self::formatDiff($diff), '<fg=yellow>----------- end diff -----------</>', '']); } if (true === $input->getOption('dry-run')) { return 1;
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L325
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (true === $input->getOption('no-update-lock') || !$locker->isLocked()) { return 0; } - $io->write('<info>Updating lock file.</info>'); + $application = new Application(); $application->setAutoExit(false); return self::updateLockerInWorkingDirectory($application, $input, $output, \dirname($composerFile));
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L369
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ if (null === $indentStyle) { throw new \RuntimeException(\sprintf('When using the indent-size option, an indent style (one of "%s") needs to be specified using the indent-style option.', \implode('", "', \array_keys(Normalizer\Format\Indent::CHARACTERS)))); } - if ((string) (int) $indentSize !== $indentSize || 1 > $indentSize) { + if ((string) $indentSize !== $indentSize || 1 > $indentSize) { throw new \RuntimeException(\sprintf('Indent size needs to be an integer greater than 0, but "%s" is not.', $indentSize)); } if (!\array_key_exists($indentStyle, Normalizer\Format\Indent::CHARACTERS)) {
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L448
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ if (!\is_int($indentSize)) { throw new \RuntimeException(\sprintf('Indent size needs to be an integer, got %s instead.', \gettype($indentSize))); } - if (1 > $indentSize) { + if (1 >= $indentSize) { throw new \RuntimeException(\sprintf('Indent size needs to be an integer greater than 0, but %d is not.', $indentSize)); } $indentStyle = $configuration['indent-style'];
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L499
Escaped Mutant for Mutator "UnwrapArrayMap": --- Original +++ New @@ @@ private static function formatDiff(string $diff) : string { $lines = \explode("\n", $diff); - $formatted = \array_map(static function (string $line) : string { - $replaced = \preg_replace(['/^(\\+.*)$/', '/^(-.*)$/'], ['<fg=green>$1</>', '<fg=red>$1</>'], $line); - if (!\is_string($replaced)) { - throw Exception\ShouldNotHappen::create(); - } - return $replaced; - }, $lines); + $formatted = $lines; return \implode("\n", $formatted); } /**
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L501
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ { $lines = \explode("\n", $diff); $formatted = \array_map(static function (string $line) : string { - $replaced = \preg_replace(['/^(\\+.*)$/', '/^(-.*)$/'], ['<fg=green>$1</>', '<fg=red>$1</>'], $line); + $replaced = \preg_replace(['/^(-.*)$/'], ['<fg=green>$1</>', '<fg=red>$1</>'], $line); if (!\is_string($replaced)) { throw Exception\ShouldNotHappen::create(); }
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L538
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ private static function updateLockerInWorkingDirectory(Console\Application $application, Console\Input\InputInterface $input, Console\Output\OutputInterface $output, string $workingDirectory) : int { - $parameters = ['command' => 'update', '--ignore-platform-reqs' => true, '--lock' => true, '--no-autoloader' => true, '--working-dir' => $workingDirectory]; + $parameters = ['command' => 'update', '--ignore-platform-reqs' => false, '--lock' => true, '--no-autoloader' => true, '--working-dir' => $workingDirectory]; if ($input->hasParameterOption('--no-ansi')) { $parameters[] = '--no-ansi'; }
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L539
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ private static function updateLockerInWorkingDirectory(Console\Application $application, Console\Input\InputInterface $input, Console\Output\OutputInterface $output, string $workingDirectory) : int { - $parameters = ['command' => 'update', '--ignore-platform-reqs' => true, '--lock' => true, '--no-autoloader' => true, '--working-dir' => $workingDirectory]; + $parameters = ['command' => 'update', '--ignore-platform-reqs' => true, '--lock' => false, '--no-autoloader' => true, '--working-dir' => $workingDirectory]; if ($input->hasParameterOption('--no-ansi')) { $parameters[] = '--no-ansi'; }
Mutation Tests (7.4, locked): src/Command/NormalizeCommand.php#L540
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ */ private static function updateLockerInWorkingDirectory(Console\Application $application, Console\Input\InputInterface $input, Console\Output\OutputInterface $output, string $workingDirectory) : int { - $parameters = ['command' => 'update', '--ignore-platform-reqs' => true, '--lock' => true, '--no-autoloader' => true, '--working-dir' => $workingDirectory]; + $parameters = ['command' => 'update', '--ignore-platform-reqs' => true, '--lock' => true, '--no-autoloader' => false, '--working-dir' => $workingDirectory]; if ($input->hasParameterOption('--no-ansi')) { $parameters[] = '--no-ansi'; }