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 77final class UuidMatcher extends Matcher
88{
99 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}$| ' ;
1111
1212 /**
1313 * {@inheritDoc}
Original file line number Diff line number Diff line change @@ -66,7 +66,11 @@ public static function positiveCanMatchData()
6666 public static function positiveMatchData ()
6767 {
6868 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@ " ),
6972 array ("9f4db639-0e87-4367-9beb-d64e3f42ae18 " , "@uuid@ " ),
73+ array ("1f2b1a18-81a0-5685-bca7-f23022ed7c7b " , "@uuid@ " ),
7074 );
7175 }
7276
You can’t perform that action at this time.
0 commit comments