File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Uuid extends Constraint
39
39
self ::INVALID_VARIANT_ERROR => 'INVALID_VARIANT_ERROR ' ,
40
40
];
41
41
42
- // Possible versions defined by RFC 4122
42
+ // Possible versions defined by RFC 9562/ 4122
43
43
public const V1_MAC = 1 ;
44
44
public const V2_DCE = 2 ;
45
45
public const V3_MD5 = 3 ;
@@ -64,7 +64,7 @@ class Uuid extends Constraint
64
64
public $ message = 'This is not a valid UUID. ' ;
65
65
66
66
/**
67
- * Strict mode only allows UUIDs that meet the formal definition and formatting per RFC 4122.
67
+ * Strict mode only allows UUIDs that meet the formal definition and formatting per RFC 9562/ 4122.
68
68
*
69
69
* Set this to `false` to allow legacy formats with different dash positioning or wrapping characters
70
70
*
Original file line number Diff line number Diff line change 19
19
/**
20
20
* Validates whether the value is a valid UUID (also known as GUID).
21
21
*
22
- * Strict validation will allow a UUID as specified per RFC 4122.
22
+ * Strict validation will allow a UUID as specified per RFC 9562/ 4122.
23
23
* Loose validation will allow any type of UUID.
24
24
*
25
25
* @author Colin O'Dell <[email protected] >
26
26
* @author Bernhard Schussek <[email protected] >
27
27
*
28
- * @see http ://tools .ietf.org/html/rfc4122
28
+ * @see https ://datatracker .ietf.org/doc/ html/rfc9562
29
29
* @see https://en.wikipedia.org/wiki/Universally_unique_identifier
30
30
*/
31
31
class UuidValidator extends ConstraintValidator
You can’t perform that action at this time.
0 commit comments