You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch. This is a result of these classes extending Ramsey\Uuid\Uuid right now. Technically, they shouldn't even have the static methods, since these methods are not part of the interface. In version 5.0, Ramsey\Uuid\Uuid will be a final, static class, and these subclasses will not have these static methods, so I'm not sure whether this requires any action at this point.
Describe the bug
Specific version factory, unlike the general one (
RamsayUuid::uuidX()
) should fail if provided string belongs to a different versionTo Reproduce...
Expected behavior
UuidV1::fromString
should throw InvalidArgumentExceptionScreenshots or output
UuidV1::fromString
returns instance of UuidV4Environment details
The text was updated successfully, but these errors were encountered: