Skip to content

chore: release 1.x (#223) #577

chore: release 1.x (#223)

chore: release 1.x (#223) #577

Triggered via push June 9, 2026 09:39
Status Success
Total duration 5m 26s
Artifacts

infection.yml

on: push
Matrix: infection
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Infection PHP8.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L178
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ return []; } - $keys = [self::SCRIPT_ALL_KEY]; + $keys = []; /** @var array{scripts?: array<string, string>}&array<string, mixed> $composer */ $composer = \json_decode(
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L97
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } \mkdir((string) $path, 0755, true); - $io->success(\sprintf('Created %s/', $path)); + } /**
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L96
Escaped Mutant for Mutator "IncrementInteger": @@ @@ return; } - \mkdir((string) $path, 0755, true); + \mkdir((string) $path, 494, true); $io->success(\sprintf('Created %s/', $path)); }
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L96
Escaped Mutant for Mutator "DecrementInteger": @@ @@ return; } - \mkdir((string) $path, 0755, true); + \mkdir((string) $path, 492, true); $io->success(\sprintf('Created %s/', $path)); }
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L93
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ private static function ensureDirectory(Path $path, SymfonyStyle $io): void { if ($path->isDir()) { - return; + } \mkdir((string) $path, 0755, true);
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L82
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $io->note(\sprintf('Left existing %s untouched.', $configPath)); } } catch (\Throwable $exception) { - $output->writeln(''); + $output->writeln(\sprintf('<fg=red>%s</>', $exception->getMessage())); return Command::FAILURE; }
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L73
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ # Non-interactive + existing config: bail out before touching the file. if ($configPath->isFile() && !$input->isInteractive()) { $io->warning(\sprintf('%s already exists. Skipping (non-interactive mode).', $configPath)); - return Command::SUCCESS; + } if (self::writeConfig($configPath, $srcPath, $suites, $io)) {
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L72
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ # Non-interactive + existing config: bail out before touching the file. if ($configPath->isFile() && !$input->isInteractive()) { - $io->warning(\sprintf('%s already exists. Skipping (non-interactive mode).', $configPath)); + return Command::SUCCESS; }
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L63
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $srcPath = self::discoverSourceDirectory($input, $basePath, $io); $testsPath = $basePath->join('tests'); - self::ensureDirectory($testsPath, $io); + $suites = self::discoverSuites($testsPath, $io); $composerKeys = self::updateComposerScripts($suites, $basePath, $io);
Infection PHP8.2: bridge/symfony-console/src/Command/Init.php#L58
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ try { $basePath = Path::create((string) $input->getOption('path')); - self::ensureDirectory($basePath, $io); + $srcPath = self::discoverSourceDirectory($input, $basePath, $io);