Schedule CI #211
Annotations
6 warnings
Infection (ubuntu-latest, 8.3):
src/Build/Build.php#L40
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
*/
private function setBuildPath() : void
{
- $path = 'builds' . DIRECTORY_SEPARATOR;
+ $path = DIRECTORY_SEPARATOR . 'builds';
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_":
--- Original
+++ New
@@ @@
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/LoadTools/FastExecution.php#L101
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
if ($this->fileUtils->directoryContainsFile($path, $file)) {
return true;
}
- continue;
+ break;
}
return false;
}
}
|
Infection (ubuntu-latest, 8.3):
src/Tools/Process/ProcessFake.php#L69
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*/
public function isTerminated() : bool
{
- return $this->fakeTimeout ? false : true;
+ return $this->fakeTimeout ? true : true;
}
/**
* Mocks the method.
|
Infection (ubuntu-latest, 8.3):
src/Tools/Process/ProcessFake.php#L116
Escaped Mutant for Mutator "Break_":
--- Original
+++ New
@@ @@
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/ParallelLint.php#L44
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
$command = '';
foreach (self::ARGUMENTS as $option) {
if (empty($this->args[$option])) {
- continue;
+ break;
}
switch ($option) {
case self::EXECUTABLE_PATH_OPTION:
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CodeCoverage
Expired
|
1.32 MB |
|
GitHooks Metrics - 25-02-2024
Expired
|
1.84 MB |
|
Infection
Expired
|
152 KB |
|
PhPMetrics
Expired
|
378 KB |
|