feat: remove deprecated Serializable interface

This commit is contained in:
Ben Ramsey
2022-04-01 16:40:08 -05:00
parent 13edf70fc9
commit dec678d60b
19 changed files with 217 additions and 361 deletions
+3 -1
View File
@@ -177,11 +177,13 @@ class ExpectedBehaviorTest extends TestCase
/**
* @dataProvider provideFromStringInteger
*/
public function testSerialization($string)
public function testSerialization(string $string): void
{
$uuid = Uuid::fromString($string);
$serialized = serialize($uuid);
/** @var UuidInterface $unserialized */
$unserialized = unserialize($serialized);
$this->assertSame(0, $uuid->compareTo($unserialized));