Schedule CI #222
Annotations
4 warnings
Infection (ubuntu-latest, 8.3):
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.3):
src/Tools/Process/Execution/MultiProcessesExecution.php#L40
Escaped Mutant for Mutator "CastString":
@@ @@
$this->numberOfRunnedProcesses = $this->finishExecution($process, $toolName);
}
} catch (ProcessTimedOutException $th) {
- $toolName = (string) array_search($th->getProcess(), $this->processes);
+ $toolName = array_search($th->getProcess(), $this->processes);
$this->numberOfRunnedProcesses = $this->finishExecution($th->getProcess(), $toolName, $th->getMessage());
}
} while ($totalProcesses > $this->numberOfRunnedProcesses);
|
Infection (ubuntu-latest, 8.3):
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.3):
src/Tools/Tool/ToolAbstract.php#L157
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
*/
protected function isWindows()
{
- return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';
+ return strtoupper(substr(PHP_OS, 1, 3)) === 'WIN';
}
public function getErrors(): string
{
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CodeCoverage
Expired
|
1.36 MB |
|
GitHooks Metrics - 14-07-2024
Expired
|
1.9 MB |
|
Infection
Expired
|
159 KB |
|
PhPMetrics
Expired
|
380 KB |
|