File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class UuidMatcher extends Matcher
1818 /**
1919 * @var string
2020 */
21- public const UUID_PATTERN = '[\da-f]{8}-[\da-f]{4}-[1-6][ \da-f]{3 }-[89ab][ \da-f]{3 }-[\da-f]{12} ' ;
21+ public const UUID_PATTERN = '[\da-f]{8}-[\da-f]{4}-[\da-f]{4 }-[\da-f]{4 }-[\da-f]{12} ' ;
2222
2323 /**
2424 * @var string
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ public static function positiveMatchData()
3030 ['9f4db639-0e87-4367-9beb-d64e3f42ae18 ' , '@uuid@ ' ],
3131 ['1f2b1a18-81a0-5685-bca7-f23022ed7c7b ' , '@uuid@ ' ],
3232 ['1ebb5050-b028-616a-9180-0a00ac070060 ' , '@uuid@ ' ],
33+ ['00000000-0000-0000-0000-000000000000 ' , '@uuid@ ' ],
3334 ];
3435 }
3536
@@ -53,7 +54,6 @@ public static function negativeMatchData()
5354 ['9f4db6390e8743679bebd64e3f42ae18 ' , '@uuid@ ' ],
5455 ['9f4db6390e87-4367-9beb-d64e-3f42ae18 ' , '@uuid@ ' ],
5556 ['9f4db639-0e87-4367-9beb-d64e3f42ae1g ' , '@uuid@ ' ],
56- ['9f4db639-0e87-0367-9beb-d64e3f42ae18 ' , '@uuid@ ' ],
5757 ];
5858 }
5959
You can’t perform that action at this time.
0 commit comments