Skip to content

Schedule CI

Schedule CI #226

Triggered via schedule August 11, 2024 04:11
Status Success
Total duration 5m 31s
Artifacts 4

schedule-ci.yml

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

Annotations

9 warnings
Infection (ubuntu-latest, 8.3): src/Build/Build.php#L42
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ */ private function setBuildPath(): void { - $path = 'builds' . DIRECTORY_SEPARATOR; + $path = DIRECTORY_SEPARATOR; // TODO: Refactor this to use a switch statement like getTarName() if (version_compare($this->phpVersion, '7.1', '<')) { throw new Exception('GitHooks only supports php 7.1 or greater.', 1);
Infection (ubuntu-latest, 8.3): src/Tools/Process/Execution/MultiProcessesExecution.php#L49
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } $endCommandExecution = microtime(true); $executionTime = $this->executionTime($endCommandExecution, $startCommandExecution); - $this->printer->line("Total Runtime: {$executionTime} seconds"); + return $this->errors; } protected function addProcessToQueue(): void
Infection (ubuntu-latest, 8.3): src/Tools/Process/Execution/ProcessExecution.php#L20
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $this->printer->line($this->tools[$toolName]->prepareCommand()); try { $this->startProcess($process); - $process->wait(function ($type, $buffer) { - $this->printer->rawLine($buffer); - }); + $executionTime = $this->executionTime($process->getLastOutputTime(), $process->getStartTime()); if ($process->isSuccessful()) { $this->printer->resultSuccess($this->getSuccessString($toolName, $executionTime));
Infection (ubuntu-latest, 8.3): src/Tools/Process/ProcessFake.php#L55
Escaped Mutant for Mutator "IncrementInteger": @@ @@ public function getLastOutputTime(): float { if (!isset($this->lastTime)) { - $mockedTime = rand(1, 700) / 13; + $mockedTime = rand(1, 701) / 13; $this->lastTime = $this->starttime + $mockedTime; } return $this->lastTime;
Infection (ubuntu-latest, 8.3): src/Tools/Process/ProcessFake.php#L97
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ public function wait(callable $callback = null): int { - return $this->isSuccessful ? 0 : 1; + return $this->isSuccessful ? 0 : 2; } /** * Mocks that the process fails.
Infection (ubuntu-latest, 8.3): src/Tools/Tool/CodeSniffer/CodeSniffer.php#L43
Escaped Mutant for Mutator "Continue_": @@ @@ $arguments = array_diff(self::ARGUMENTS, [self::EXECUTABLE_PATH_OPTION]); foreach ($arguments as $option) { if (empty($this->args[$option])) { - continue; + break; } switch ($option) { case self::PATHS:
Infection (ubuntu-latest, 8.3): src/Tools/Tool/CodeSniffer/CodeSniffer.php#L61
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ case self::IGNORE_ERRORS_ON_EXIT: break; default: - $command .= ' ' . $this->args[self::OTHER_ARGS_OPTION]; + $command .= $this->args[self::OTHER_ARGS_OPTION]; break; } }
Infection (ubuntu-latest, 8.3): src/Tools/Tool/SecurityChecker.php#L44
Escaped Mutant for Mutator "Assignment": @@ @@ } switch ($option) { case self::EXECUTABLE_PATH_OPTION: - $command .= $this->args[self::EXECUTABLE_PATH_OPTION]; + $command = $this->args[self::EXECUTABLE_PATH_OPTION]; break; case self::IGNORE_ERRORS_ON_EXIT: break;
Infection (ubuntu-latest, 8.3): src/Utils/Storage.php#L48
Escaped Mutant for Mutator "FalseValue": @@ @@ */ public static function put($path, $contents, $lock = false) { - return FacadesStorage::disk(self::$disk)->put($path, $contents, $lock = false); + return FacadesStorage::disk(self::$disk)->put($path, $contents, $lock = true); } /** * Get the contents of a file.

Artifacts

Produced during runtime
Name Size
CodeCoverage Expired
1.36 MB
GitHooks Metrics - 11-08-2024 Expired
1.9 MB
Infection Expired
157 KB
PhPMetrics Expired
381 KB