File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 7
7
final class UuidMatcher extends Matcher
8
8
{
9
9
const UUID_PATTERN = '/^@uuid@$/ ' ;
10
- const UUID_FORMAT_PATTERN = '|^[\da-f]{8}-[\da-f]{4}-4 [\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}$| ' ;
10
+ const UUID_FORMAT_PATTERN = '|^[\da-f]{8}-[\da-f]{4}-[1-5] [\da-f]{3}-[89ab][\da-f]{3}-[\da-f]{12}$| ' ;
11
11
12
12
/**
13
13
* {@inheritDoc}
Original file line number Diff line number Diff line change @@ -66,7 +66,11 @@ public static function positiveCanMatchData()
66
66
public static function positiveMatchData ()
67
67
{
68
68
return array (
69
+ array ("21627164-acb7-11e6-80f5-76304dec7eb7 " , "@uuid@ " ),
70
+ array ("d9c04bc2-173f-2cb7-ad4e-e4ca3b2c273f " , "@uuid@ " ),
71
+ array ("7b368038-a5ca-3aa3-b0db-1177d1761c9e " , "@uuid@ " ),
69
72
array ("9f4db639-0e87-4367-9beb-d64e3f42ae18 " , "@uuid@ " ),
73
+ array ("1f2b1a18-81a0-5685-bca7-f23022ed7c7b " , "@uuid@ " ),
70
74
);
71
75
}
72
76
You can’t perform that action at this time.
0 commit comments