Continuous Integration #305
Annotations
4 warnings
Run mutation testing with Infection:
src/ConnectionTrait.php#L113
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
/**
* @internal
*/
- public function resetAttemptCount() : void
+ protected function resetAttemptCount() : void
{
$this->currentAttempts = 0;
}
|
Run mutation testing with Infection:
src/ConnectionTrait.php#L174
Escaped Mutant for Mutator "LogicalOr":
--- Original
+++ New
@@ @@
}
public function beginTransaction()
{
- if ($this->hasBeenClosedWithAnOpenTransaction || 0 !== $this->getTransactionNestingLevel()) {
+ if ($this->hasBeenClosedWithAnOpenTransaction && 0 !== $this->getTransactionNestingLevel()) {
return @parent::beginTransaction();
}
return $this->doWithRetry(function () : bool {
|
Run mutation testing with Infection:
src/Statement.php#L104
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
private function executeWithRetry(callable $callable, ...$params)
{
$parentCall = \Closure::fromCallable($callable);
- $parentCall->bindTo($this, parent::class);
+
try {
attempt:
$result = $parentCall(...$params);
|
Run mutation testing with Infection:
src/Statement.php#L114
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
if (!$this->retriableConnection->canTryAgain($e, $this->sql)) {
throw $e;
}
- $this->retriableConnection->increaseAttemptCount();
+
$this->recreateStatement();
goto attempt;
}
|
Loading