mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
Clean up docblocks, code, and note new deprecations
The following are deprecated: * `Ramsey\Uuid\Codec\OrderedTimeCodec` * `Ramsey\Uuid\Codec\TimestampFirstCombCodec` * `Ramsey\Uuid\Codec\TimestampLastCombCodec` * `Ramsey\Uuid\Generator\CombGenerator`
This commit is contained in:
@@ -163,9 +163,7 @@ class OrderedTimeCodecTest extends TestCase
|
||||
]);
|
||||
|
||||
$this->expectException(InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage(
|
||||
'Expected RFC 4122 version 1 (time-based) UUID'
|
||||
);
|
||||
$this->expectExceptionMessage('Expected version 1 (time-based) UUID');
|
||||
|
||||
$codec->encodeBinary($uuid);
|
||||
}
|
||||
@@ -185,9 +183,7 @@ class OrderedTimeCodecTest extends TestCase
|
||||
$uuid = $factory->fromString($nonTimeBasedUuid);
|
||||
|
||||
$this->expectException(InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage(
|
||||
'Expected RFC 4122 version 1 (time-based) UUID'
|
||||
);
|
||||
$this->expectExceptionMessage('Expected version 1 (time-based) UUID');
|
||||
|
||||
$codec->encodeBinary($uuid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user