Add: PHP 8.5, Symfony 8, phpat, infection+phpstan; Removed: Psalm, Prophecy; Adjusted: Workflows, Readme #2
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
1 error and 5 warnings
|
Mutation tests on diff (locked, 8.4, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation tests on diff (locked, 8.4, ubuntu-latest):
src/DefaultWorker.php#L38
Escaped Mutant for Mutator "RoundingFamily":
@@ @@
/** @param Closure(Closure):void $job */
public function __construct(private readonly Closure $job, private readonly EventDispatcherInterface $eventDispatcher, private readonly LoggerInterface|null $logger = null)
{
- $this->timeMeasure = static fn() => (int) round(microtime(true) * 1000);
+ $this->timeMeasure = static fn() => (int) floor(microtime(true) * 1000);
}
/** @param positive-int|0 $sleepTimer in milliseconds */
public function run(int $sleepTimer = 1000): void
|
|
Mutation tests on diff (locked, 8.4, ubuntu-latest):
src/DefaultWorker.php#L38
Escaped Mutant for Mutator "RoundingFamily":
@@ @@
/** @param Closure(Closure):void $job */
public function __construct(private readonly Closure $job, private readonly EventDispatcherInterface $eventDispatcher, private readonly LoggerInterface|null $logger = null)
{
- $this->timeMeasure = static fn() => (int) round(microtime(true) * 1000);
+ $this->timeMeasure = static fn() => (int) ceil(microtime(true) * 1000);
}
/** @param positive-int|0 $sleepTimer in milliseconds */
public function run(int $sleepTimer = 1000): void
|
|
Mutation tests on diff (locked, 8.4, ubuntu-latest):
src/DefaultWorker.php#L38
Escaped Mutant for Mutator "Multiplication":
@@ @@
/** @param Closure(Closure):void $job */
public function __construct(private readonly Closure $job, private readonly EventDispatcherInterface $eventDispatcher, private readonly LoggerInterface|null $logger = null)
{
- $this->timeMeasure = static fn() => (int) round(microtime(true) * 1000);
+ $this->timeMeasure = static fn() => (int) round(microtime(true) / 1000);
}
/** @param positive-int|0 $sleepTimer in milliseconds */
public function run(int $sleepTimer = 1000): void
|
|
Mutation tests on diff (locked, 8.4, ubuntu-latest):
src/DefaultWorker.php#L38
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
/** @param Closure(Closure):void $job */
public function __construct(private readonly Closure $job, private readonly EventDispatcherInterface $eventDispatcher, private readonly LoggerInterface|null $logger = null)
{
- $this->timeMeasure = static fn() => (int) round(microtime(true) * 1000);
+ $this->timeMeasure = static fn() => (int) round(microtime(true) * 1001);
}
/** @param positive-int|0 $sleepTimer in milliseconds */
public function run(int $sleepTimer = 1000): void
|
|
Mutation tests on diff (locked, 8.4, ubuntu-latest):
src/DefaultWorker.php#L38
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
/** @param Closure(Closure):void $job */
public function __construct(private readonly Closure $job, private readonly EventDispatcherInterface $eventDispatcher, private readonly LoggerInterface|null $logger = null)
{
- $this->timeMeasure = static fn() => (int) round(microtime(true) * 1000);
+ $this->timeMeasure = static fn() => (int) round(microtime(true) * 999);
}
/** @param positive-int|0 $sleepTimer in milliseconds */
public function run(int $sleepTimer = 1000): void
|