mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-17 16:26:51 +03:00
Ignore the "result unused" error in tests from the PHPStan config
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user