Skip to content

Schedule CI

Schedule CI #234

Triggered via schedule January 26, 2025 04:20
Status Success
Total duration 3m 32s
Artifacts 4

schedule-ci.yml

on: schedule
Matrix: Code Coverage
Matrix: Infection
Matrix: PhpMetrics
Reports
7s
Reports
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Code Coverage (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PhpMetrics (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Infection (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Infection (ubuntu-latest, 8.4): src/ConfigurationFile/ConfigurationFile.php#L107
Escaped Mutant for Mutator "CatchBlockRemoval": @@ @@ if (!$toolConfiguration->isEmptyWarnings()) { $this->toolsWarnings = array_merge($this->toolsWarnings, $toolConfiguration->getWarnings()); } - } catch (ToolIsNotSupportedException $ex) { - $this->toolsWarnings[] = "The tool {$toolName} is not supported by GitHooks."; } catch (ToolConfigurationDataIsNullException $ex) { $this->toolsErrors[] = "The tag '{$toolName}' is empty."; }
Infection (ubuntu-latest, 8.4): src/Tools/Process/Execution/MultiProcessesExecution.php#L46
Escaped Mutant for Mutator "CastString": @@ @@ $this->numberOfRunnedProcesses = $this->finishExecution($th->getProcess(), $toolName, $th->getMessage()); } catch (ProcessFailedException $th) { // dd($this->numberOfRunnedProcesses); - $toolName = (string) array_search($th->getProcess(), $this->processes); + $toolName = array_search($th->getProcess(), $this->processes); $this->numberOfRunnedProcesses = $this->finishExecution($th->getProcess(), $toolName); } catch (Throwable $th) { $this->errors->setError('Tool crash', $th->getMessage());
Infection (ubuntu-latest, 8.4): src/Tools/Process/ProcessExecutionFactory/ProcessExecutionFactoryFake.php#L23
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if (ToolAbstract::ALL_TOOLS === $tool) { $processExecution = $this->container->makeWith(MultiProcessesExecutionFake::class, [$this->printer]); } else { - $processExecution = $this->container->makeWith(ProcessExecutionFake::class, [$this->printer]); + $processExecution = $this->container->makeWith(ProcessExecutionFake::class, []); } return $processExecution; } }
Infection (ubuntu-latest, 8.4): src/Tools/Process/ProcessFake.php#L46
Escaped Mutant for Mutator "Throw_": @@ @@ } $this->status = self::STATUS_STARTED; if ($this->mustRaiseException) { - throw new ProcessFailedException($this); + new ProcessFailedException($this); } } /**
Infection (ubuntu-latest, 8.4): src/Tools/Process/ProcessFake.php#L159
Escaped Mutant for Mutator "TrueValue": @@ @@ public function setFailByException(): ProcessFake { $this->isSuccessful = false; - $this->mustRaiseException = true; + $this->mustRaiseException = false; $nameTool = $this->extractToolName(); $this->outputFake = $this->errorOutputFake = "{$nameTool} fakes an exception"; $this->exitcode = 1;
Infection (ubuntu-latest, 8.4): src/Tools/Process/ProcessFake.php#L162
Escaped Mutant for Mutator "IncrementInteger": @@ @@ $this->mustRaiseException = true; $nameTool = $this->extractToolName(); $this->outputFake = $this->errorOutputFake = "{$nameTool} fakes an exception"; - $this->exitcode = 1; + $this->exitcode = 2; return $this; } public function setFailByFoundedErrors(): ProcessFake
Infection (ubuntu-latest, 8.4): src/Tools/Tool/CodeSniffer/CodeSniffer.php#L61
Escaped Mutant for Mutator "Concat": @@ @@ case self::IGNORE_ERRORS_ON_EXIT: break; default: - $command .= ' ' . $this->args[self::OTHER_ARGS_OPTION]; + $command .= $this->args[self::OTHER_ARGS_OPTION] . ' '; break; } }
Reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
CodeCoverage
1.44 MB
GitHooks Metrics - 26-01-2025
1.98 MB
Infection
166 KB
PhPMetrics
381 KB