Schedule CI #232
Annotations
9 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
src/ConfigurationFile/Printer/ToolsTable.php#L13
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
public function __construct(array $tools)
{
- $this->headers = [ConfigurationFile::TOOLS, 'Commands'];
+ $this->headers = ['Commands'];
foreach ($tools as $key => $tool) {
$this->rows[] = [$key, $tool->prepareCommand()];
}
}
}
|
src/ConfigurationFile/Printer/ToolsTable.php#L16
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
$this->headers = [ConfigurationFile::TOOLS, 'Commands'];
foreach ($tools as $key => $tool) {
- $this->rows[] = [$key, $tool->prepareCommand()];
+ $this->rows[] = [$tool->prepareCommand()];
}
}
}
|
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());
|
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);
}
}
/**
|
src/Tools/Process/ProcessFake.php#L134
Escaped Mutant for Mutator "Break_":
@@ @@
foreach ($tools as $tool) {
if (preg_match("%{$tool}%", $ex[0])) {
$nameTool = $tool;
- break;
+ continue;
}
}
return $nameTool;
|
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;
|
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
|
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.
|
The logs for this run have expired and are no longer available.
Loading