Schedule CI #225
Annotations
6 warnings
Infection (ubuntu-latest, 8.3):
src/Build/Build.php#L42
Escaped Mutant for Mutator "Concat":
@@ @@
*/
private function setBuildPath(): void
{
- $path = 'builds' . DIRECTORY_SEPARATOR;
+ $path = DIRECTORY_SEPARATOR . 'builds';
// 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/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.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#L97
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
*/
public function wait(callable $callback = null): int
{
- return $this->isSuccessful ? 0 : 1;
+ return $this->isSuccessful ? -1 : 1;
}
/**
* Mocks that the process fails.
|
Infection (ubuntu-latest, 8.3):
src/Tools/Process/ProcessFake.php#L116
Escaped Mutant for Mutator "Break_":
@@ @@
foreach ($tools as $tool) {
if (preg_match("%{$tool}%", $ex[0])) {
$nameTool = $tool;
- break;
+ continue;
}
}
$this->output = "\nThe tool {$nameTool} mocks an error\n";
|
Infection (ubuntu-latest, 8.3):
src/Tools/Tool/Phpmd.php#L65
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
case self::IGNORE_ERRORS_ON_EXIT:
break;
default:
- $command .= ' ' . $this->args[self::OTHER_ARGS_OPTION];
+ $command .= ' ';
break;
}
}
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CodeCoverage
Expired
|
1.36 MB |
|
GitHooks Metrics - 04-08-2024
Expired
|
1.9 MB |
|
Infection
Expired
|
157 KB |
|
PhPMetrics
Expired
|
380 KB |
|