Skip to content

ci: Set COMPOSER_ROOT_VERSION environment variable in workflow files #2

ci: Set COMPOSER_ROOT_VERSION environment variable in workflow files

ci: Set COMPOSER_ROOT_VERSION environment variable in workflow files #2

Triggered via push June 9, 2026 17:00
Status Success
Total duration 51s
Artifacts

infection.yml

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

Annotations

11 warnings
🧬 Infection PHP8.5
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.5: src/Path.php#L197
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ public function isDir(): bool { return match (true) { - $this->path === '.', - $this->path === '..', - $this->isAbsolute && \substr($this->path, -2) === self::DS . '.', - \is_dir($this->path) => true, + $this->path === '.', $this->path === '..', \is_dir($this->path) => true, default => false, }; }
🧬 Infection PHP8.5: src/Path.php#L197
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ public function isDir(): bool { return match (true) { - $this->path === '.', - $this->path === '..', - $this->isAbsolute && \substr($this->path, -2) === self::DS . '.', - \is_dir($this->path) => true, + $this->path === '.', $this->isAbsolute && \substr($this->path, -2) === self::DS . '.', \is_dir($this->path) => true, default => false, }; }
🧬 Infection PHP8.5: src/Path.php#L197
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ public function isDir(): bool { return match (true) { - $this->path === '.', - $this->path === '..', - $this->isAbsolute && \substr($this->path, -2) === self::DS . '.', - \is_dir($this->path) => true, + $this->path === '..', $this->isAbsolute && \substr($this->path, -2) === self::DS . '.', \is_dir($this->path) => true, default => false, }; }
🧬 Infection PHP8.5: src/Path.php#L154
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ return self::create($parts[0] . self::DS); } - if (!$this->isAbsolute && $parts[\array_key_last($parts)] === '..') { + if (!(!$this->isAbsolute && $parts[\array_key_last($parts)] === '..')) { return $this->join('..'); }
🧬 Infection PHP8.5: src/Path.php#L154
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": @@ @@ return self::create($parts[0] . self::DS); } - if (!$this->isAbsolute && $parts[\array_key_last($parts)] === '..') { + if ($this->isAbsolute && !($parts[\array_key_last($parts)] === '..')) { return $this->join('..'); }
🧬 Infection PHP8.5: src/Path.php#L154
Escaped Mutant for Mutator "LogicalAnd": @@ @@ return self::create($parts[0] . self::DS); } - if (!$this->isAbsolute && $parts[\array_key_last($parts)] === '..') { + if (!$this->isAbsolute || $parts[\array_key_last($parts)] === '..') { return $this->join('..'); }
🧬 Infection PHP8.5: src/Path.php#L154
Escaped Mutant for Mutator "Identical": @@ @@ return self::create($parts[0] . self::DS); } - if (!$this->isAbsolute && $parts[\array_key_last($parts)] === '..') { + if (!$this->isAbsolute && $parts[\array_key_last($parts)] !== '..') { return $this->join('..'); }
🧬 Infection PHP8.5: src/Path.php#L154
Escaped Mutant for Mutator "LogicalNot": @@ @@ return self::create($parts[0] . self::DS); } - if (!$this->isAbsolute && $parts[\array_key_last($parts)] === '..') { + if ($this->isAbsolute && $parts[\array_key_last($parts)] === '..') { return $this->join('..'); }
🧬 Infection PHP8.5: src/Path.php#L149
Escaped Mutant for Mutator "LogicalAnd": @@ @@ }; } - if ($this->isAbsolute && \count($parts) === 2) { + if ($this->isAbsolute || \count($parts) === 2) { // If the path is absolute and has only two parts, return the root return self::create($parts[0] . self::DS); }
🧬 Infection PHP8.5: src/Path.php#L75
Escaped Mutant for Mutator "Continue_": @@ @@ if ($path instanceof self) { $path->isAbsolute and throw new \LogicException('Joining an absolute path is not allowed.'); $result .= self::DS . $path->path; - continue; + break; } if ($path === '') {