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