Nice looking PHP gif diffs #705
Annotations
5 warnings
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) {
|
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();
|
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();
|
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
{
|
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