Skip to content

chore: upgrade trunk linters #196

chore: upgrade trunk linters

chore: upgrade trunk linters #196

Re-run triggered September 14, 2026 11:14
Status Success
Total duration 3m 51s
Artifacts 2

phpunit.yml

on: pull_request
Matrix: phpunit
Mutation Tests (Infection)
3m 45s
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), + 'TEAMCITY_VERSION' => $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), + 'JENKINS_URL' => $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
784 KB
sha256:4477862f21546e7b3bf485f34b9c787a3ea0e8778aafb8276a0c6a0cadfd5762
mutation-report
471 KB
sha256:d1761cbc68fce817e94d9a4cb6bf8e9da8b60938418667bd8586b19d4e81e0a9