Skip to content

Schedule CI

Schedule CI #237

Triggered via schedule February 9, 2025 04:20
Status Success
Total duration 3m 42s
Artifacts 4

schedule-ci.yml

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

Annotations

7 warnings
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/LoadTools/FastExecution.php#L52
Escaped Mutant for Mutator "Continue_": @@ @@ foreach ($configurationFile->getToolsConfiguration() as $tool) { if (!in_array($tool->getTool(), self::ACCELERABLE_TOOLS)) { $tools[] = $tool; - continue; + break; } $originalPaths = $tool->getPaths(); $modifiedFiles = $this->fileUtils->getModifiedFiles();
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/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/Utils/Storage.php#L96
Escaped Mutant for Mutator "FunctionCall": @@ @@ public static function chmod($path, $mode = null) { if ($mode) { - return chmod(FacadesStorage::disk(self::$disk)->path($path), $mode); + chmod(FacadesStorage::disk(self::$disk)->path($path), $mode); + return null; } return substr(sprintf('%o', fileperms($path)), -4); } }

Artifacts

Produced during runtime
Name Size
CodeCoverage
1.44 MB
GitHooks Metrics - 09-02-2025
1.98 MB
Infection
168 KB
PhPMetrics
381 KB