Skip to content

Fix trunk-upgrade workflow to use action-provided Trunk binary #154

Fix trunk-upgrade workflow to use action-provided Trunk binary

Fix trunk-upgrade workflow to use action-provided Trunk binary #154

Re-run triggered August 17, 2026 07:54
Status Success
Total duration 4m 0s
Artifacts 2

phpunit.yml

on: pull_request
Matrix: phpunit
Mutation Tests (Infection)
3m 55s
Mutation Tests (Infection)
Publish badge data
0s
Publish badge data
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L434
Escaped Mutant for Mutator "PregMatchRemoveDollar": @@ @@ */ private function getServerVar(string $name): ?string { - if (!preg_match('/^[A-Z_][A-Z0-9_]*$/', $name)) { + if (!preg_match('/^[A-Z_][A-Z0-9_]*/', $name)) { return null; }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L434
Escaped Mutant for Mutator "PregMatchRemoveCaret": @@ @@ */ private function getServerVar(string $name): ?string { - if (!preg_match('/^[A-Z_][A-Z0-9_]*$/', $name)) { + if (!preg_match('/[A-Z_][A-Z0-9_]*$/', $name)) { return null; }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L363
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ 'COLUMNS', 'LINES' => $this->sanitizeNumericValue($value), 'TERM' => $this->sanitizeTermValue($value), 'CI', 'GITHUB_ACTIONS', 'GITLAB_CI' => $this->sanitizeBooleanValue($value), - 'JENKINS_URL', 'TEAMCITY_VERSION' => $this->sanitizeAlphanumericValue($value), + 'JENKINS_URL' => $this->sanitizeAlphanumericValue($value), default => $this->sanitizeAlphanumericValue($value), }; }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L363
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ 'COLUMNS', 'LINES' => $this->sanitizeNumericValue($value), 'TERM' => $this->sanitizeTermValue($value), 'CI', 'GITHUB_ACTIONS', 'GITLAB_CI' => $this->sanitizeBooleanValue($value), - 'JENKINS_URL', 'TEAMCITY_VERSION' => $this->sanitizeAlphanumericValue($value), + 'TEAMCITY_VERSION' => $this->sanitizeAlphanumericValue($value), default => $this->sanitizeAlphanumericValue($value), }; }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L343
Escaped Mutant for Mutator "Ternary": @@ @@ if (isset($this->secureEnvStorage[$var])) { $this->cachedEnv[$var] = $this->secureEnvStorage[$var]; } else { - $globalEnv = filter_input_array(INPUT_ENV) ?: []; + $globalEnv = filter_input_array(INPUT_ENV) ? [] : filter_input_array(INPUT_ENV); if (array_key_exists($var, $globalEnv)) { $this->cachedEnv[$var] = (string) $globalEnv[$var]; }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L227
Escaped Mutant for Mutator "LogicalOr": @@ @@ ]; foreach ($nonInteractiveEnvs as $env) { - if ($this->getEnvVar($env) || $this->getServerVar($env)) { + if ($this->getEnvVar($env) && $this->getServerVar($env)) { return false; } }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L226
Escaped Mutant for Mutator "Foreach_": @@ @@ 'TEAMCITY_VERSION', ]; - foreach ($nonInteractiveEnvs as $env) { + foreach ([] as $env) { if ($this->getEnvVar($env) || $this->getServerVar($env)) { return false; }
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L218
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ // Check for CI environments $nonInteractiveEnvs = [ - 'CI', 'GITHUB_ACTIONS', 'GITLAB_CI', 'JENKINS_URL',
Mutation Tests (Infection): src/Console/Command/AbstractCommand.php#L209
Escaped Mutant for Mutator "ReturnRemoval": @@ @@ { // Check if output supports ANSI if (!$output->isDecorated()) { - return false; + } // Check if STDIN is available (undefined outside the CLI SAPI)
Mutation Tests (Infection): src/Block/Inspector.php#L36
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ private readonly DeveloperAccessChecker $developerAccessChecker, array $data = [], ) { - parent::__construct($context, $data); + } /**

Artifacts

Produced during runtime
Name Size Digest
coverage-report
781 KB
sha256:a11cf7196bbae35eee8d93df6d257fb87840dd14ef9297afbdfecf3fa72d0e66
mutation-report
468 KB
sha256:383b228b52c99cf52dbf2023771b49a1e6c9318bb8da8aa4d464a9b1bc6d63f7