Ignore the "result unused" error in tests from the PHPStan config

This commit is contained in:
Ben Ramsey
2025-06-24 20:23:23 -05:00
committed by Ben Ramsey
parent 088b87356d
commit 4ca249e960
20 changed files with 7 additions and 32 deletions
-3
View File
@@ -77,7 +77,6 @@ class OrderedTimeCodecTest extends TestCase
->method('getFields')
->willReturn($this->fields);
$codec = new OrderedTimeCodec($this->builder);
/** @phpstan-ignore method.resultUnused */
$codec->encode($this->uuid);
}
@@ -166,7 +165,6 @@ class OrderedTimeCodecTest extends TestCase
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Expected version 1 (time-based) UUID');
/** @phpstan-ignore method.resultUnused */
$codec->encodeBinary($uuid);
}
@@ -187,7 +185,6 @@ class OrderedTimeCodecTest extends TestCase
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Expected version 1 (time-based) UUID');
/** @phpstan-ignore method.resultUnused */
$codec->encodeBinary($uuid);
}