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