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
@@ -208,19 +208,16 @@ final class UuidStringConversionBench
public function benchStringConversionOfTinyUuid(): void
{
/** @phpstan-ignore method.resultUnused */
$this->tinyUuid->toString();
}
public function benchStringConversionOfHugeUuid(): void
{
/** @phpstan-ignore method.resultUnused */
$this->hugeUuid->toString();
}
public function benchStringConversionOfUuid(): void
{
/** @phpstan-ignore method.resultUnused */
$this->uuid->toString();
}
@@ -233,19 +230,16 @@ final class UuidStringConversionBench
public function benchBytesConversionOfTinyUuid(): void
{
/** @phpstan-ignore method.resultUnused */
$this->tinyUuid->getBytes();
}
public function benchBytesConversionOfHugeUuid(): void
{
/** @phpstan-ignore method.resultUnused */
$this->hugeUuid->getBytes();
}
public function benchBytesConversionOfUuid(): void
{
/** @phpstan-ignore method.resultUnused */
$this->uuid->getBytes();
}