Skip to content

Commit d8af3a2

Browse files
authored
1 parent c08886d commit d8af3a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Matcher/UuidMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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-5][\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}';
21+
public const UUID_PATTERN = '[\da-f]{8}-[\da-f]{4}-[1-6][\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}';
2222

2323
/**
2424
* @var string

tests/Matcher/UuidMatcherTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static function positiveMatchData()
2929
['7b368038-a5ca-3aa3-b0db-1177d1761c9e', '@uuid@'],
3030
['9f4db639-0e87-4367-9beb-d64e3f42ae18', '@uuid@'],
3131
['1f2b1a18-81a0-5685-bca7-f23022ed7c7b', '@uuid@'],
32+
['1ebb5050-b028-616a-9180-0a00ac070060', '@uuid@'],
3233
];
3334
}
3435

0 commit comments

Comments
 (0)