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
-2
View File
@@ -60,7 +60,6 @@ class StringCodecTest extends TestCase
->method('getFields')
->willReturn($this->fields);
$codec = new StringCodec($this->builder);
/** @phpstan-ignore method.resultUnused */
$codec->encode($this->uuid);
}
@@ -136,7 +135,6 @@ class StringCodecTest extends TestCase
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('$bytes string should contain 16 characters.');
/** @phpstan-ignore method.resultUnused */
$codec->decodeBytes($bytes);
}