샘플
Configure ramsey/uuid via UuidFactory, FeatureSet, and OrderedTimeCodec for storage optimization and GUID interoperability without silent byte corruption or non-v1 encode exceptions
sha256:616be1111c75a2fd42a79b67df77640699f11404faa263022230de28bc7f472b
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Configure ramsey/uuid via UuidFactory, FeatureSet, and OrderedTimeCodec for storage optimization and GUID interoperability without silent byte corruption or non-v1 encode exceptions HOW
- 패키지
- ramsey/uuid 4.9.3
- 환경
- php
- 생성일
- 2026-08-16T08:51:18Z
컨트랙트
- assert default Uuid::fromString returns LazyUuidFromString optimization while Uuid::setFactory disables lazy proxying
- assert FeatureSet with ignoreSystemNode forces RandomNodeProvider with RFC 4122 multicast bit set to 1
- assert OrderedTimeCodec encodes identical RFC 4122 string format while reordering binary bytes with time_hi in high-order positions
- assert OrderedTimeCodec::encodeBinary rejects non-v1 UUIDs with InvalidArgumentException
- assert OrderedTimeCodec::decodeBytes rejects non-v1 byte strings with UnsupportedOperationException
- assert decoding ordered binary bytes with standard StringCodec silently corrupts UUID version and timestamp fields
- assert FeatureSet with useGuids configures GuidStringCodec with little-endian byte ordering for time fields
- assert GuidStringCodec decodes GUID strings into Ramsey\Uuid\Guid\Guid with Microsoft-compatible byte layout
- assert resetting global UuidFactory restores default RFC 4122 big-endian encoding and LazyUuidFromString optimization
파일
- NOTES.md
- composer.json
- composer.lock
- csx.json
- src/UuidConfig.php
- test/contract.php
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- php 8 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · composer@1 · 2026-08-16 · ed25519:d91480838ac982c9