Add addons #38
Annotations
1 error and 3 warnings
Run make mutation-testing
Process completed with exit code 2.
|
Run make mutation-testing:
src/Generated/AbstractManager.php#L30
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$this->cron = Cron::createWithMutex(
$mutex,
/** @see \Mammatus\Cron\BuildIn\Noop */
- new Action('cron_no.op', 120, '* * * * *', fn() => $this->perform(\Mammatus\Cron\BuildIn\Noop::class))
+ new Action('cron_no.op', 119, '* * * * *', fn() => $this->perform(\Mammatus\Cron\BuildIn\Noop::class))
);
return $this->cron;
}
protected abstract function perform(string $class) : void;
}
|
Run make mutation-testing:
src/Generated/AbstractManager.php#L30
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$this->cron = Cron::createWithMutex(
$mutex,
/** @see \Mammatus\Cron\BuildIn\Noop */
- new Action('cron_no.op', 120, '* * * * *', fn() => $this->perform(\Mammatus\Cron\BuildIn\Noop::class))
+ new Action('cron_no.op', 121, '* * * * *', fn() => $this->perform(\Mammatus\Cron\BuildIn\Noop::class))
);
return $this->cron;
}
protected abstract function perform(string $class) : void;
}
|
Run make mutation-testing:
src/Manager.php#L53
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
throw new RuntimeException('Given job is not an action');
}
$logger->debug('Starting job');
- $job->perform();
+
$logger->debug('Job finished');
} catch (Throwable $throwable) {
/** @phpstan-ignore-line */
|
Loading