[4.1.0] UuidV1::fromString(...) is not instance of UuidV1 anymore - breaking change?
Author: jacekkarczmarczykCreated Jul 28, 2020Updated Sep 15, 2021
Labelsbug
Describe the bug
Using the following code I was able to check whether $uuidString is a v1 UUID,
$validV1 = UuidV1::fromString('08a527be-8e7a-11e9-bc42-526af7764f64') instanceof UuidV1;Now it returns false, so:
- maybe it wasn't the best option to check it - how would you do it in 4.1?
- regardless whether it's best or not solution - it looks like a breaking change which shouldn't happen in minor release
Source: ramsey/uuid