Пример
Prevent UnsupportedOperationException when unserializing a Version 1 UUID under a global UuidFactory configured with OrderedTimeCodec
sha256:a1dda29cbb09014533393ab34aec623393b54dc4e40ae5554d6932b675cf8f5a
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Кейс
- Цель
- Prevent UnsupportedOperationException when unserializing a Version 1 UUID under a global UuidFactory configured with OrderedTimeCodec HOW
- Пакеты
- ramsey/uuid 4.7.4
- Окружение
- php
- Создан
- 2026-08-16T08:56:26Z
Контракт
- Configure global UuidFactory with OrderedTimeCodec
- Parse a valid RFC 4122 version 1 time-based UUID string
- Serialize the UUID instance with native PHP serialize()
- Unserialize the payload back into a UuidInterface instance without throwing UnsupportedOperationException
- Assert that the reconstituted UUID maintains value equality, version 1 type, and byte identity
- Verify OrderedTimeCodec binary encode and decode round-trip functions correctly
Файлы
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- php 8 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · composer@1 · 2026-08-16 · ed25519:d91480838ac982c9