Merge pull request #238 from WyriHaximus/renovate/phpunit #722
Annotations
5 warnings
Run make mutation-testing || true:
src/AsyncTestCase.php#L68
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
/** @internal */
protected final function runAsyncTest(mixed ...$args) : mixed
{
- /**
- * @psalm-suppress InternalMethod
- * @psalm-suppress PossiblyNullArgument
- */
- parent::setName($this->realTestName);
+
$timeout = 30;
$reflectionClass = new ReflectionClass($this::class);
foreach ($reflectionClass->getAttributes() as $classAttribute) {
|
Run make mutation-testing || true:
src/AsyncTestCase.php#L70
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
* @psalm-suppress PossiblyNullArgument
*/
parent::setName($this->realTestName);
- $timeout = 30;
+ $timeout = 29;
$reflectionClass = new ReflectionClass($this::class);
foreach ($reflectionClass->getAttributes() as $classAttribute) {
$classTimeout = $classAttribute->newInstance();
|
Run make mutation-testing || true:
src/AsyncTestCase.php#L70
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
* @psalm-suppress PossiblyNullArgument
*/
parent::setName($this->realTestName);
- $timeout = 30;
+ $timeout = 31;
$reflectionClass = new ReflectionClass($this::class);
foreach ($reflectionClass->getAttributes() as $classAttribute) {
$classTimeout = $classAttribute->newInstance();
|
Run make mutation-testing || true:
src/AsyncTestCase.php#L96
Escaped Mutant for Mutator "UnwrapFinally":
--- Original
+++ New
@@ @@
$timeout = $methodTimeout->timeout;
}
$timeout = Loop::addTimer($timeout, static fn() => Loop::stop());
- try {
- /**
- * @psalm-suppress MixedArgument
- * @psalm-suppress UndefinedInterfaceMethod
- */
- return await(async(fn(): mixed => [$this, $this->realTestName](...$args))());
- } finally {
- Loop::cancelTimer($timeout);
- }
+ /**
+ * @psalm-suppress MixedArgument
+ * @psalm-suppress UndefinedInterfaceMethod
+ */
+ return await(async(fn(): mixed => [$this, $this->realTestName](...$args))());
+ Loop::cancelTimer($timeout);
}
protected final function runTest() : mixed
{
|
Run make mutation-testing || true:
src/AsyncTestCase.php#L105
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
return await(async(fn(): mixed => [$this, $this->realTestName](...$args))());
} finally {
- Loop::cancelTimer($timeout);
+
}
}
protected final function runTest() : mixed
|
The logs for this run have expired and are no longer available.
Loading