File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ enum Requirement
23
23
public const POSITIVE_INT = '[1-9][0-9]* ' ;
24
24
public const UID_BASE32 = '[0-9A-HJKMNP-TV-Z]{26} ' ;
25
25
public const UID_BASE58 = '[1-9A-HJ-NP-Za-km-z]{22} ' ;
26
- public const UID_RFC4122 = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12} ' ;
26
+ public const UID_RFC4122 = '[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12} ' ; // RFC 9562 obsoleted RFC 4122 but the format is the same
27
27
public const ULID = '[0-7][0-9A-HJKMNP-TV-Z]{25} ' ;
28
28
public const UUID = '[0-9a-f]{8}-[0-9a-f]{4}-[13-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
29
29
public const UUID_V1 = '[0-9a-f]{8}-[0-9a-f]{4}-1[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12} ' ;
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public function toBase32(): string
124
124
/**
125
125
* Returns the identifier as a RFC 9562/4122 case insensitive string.
126
126
*
127
- * @see https://tools .ietf.org/html/rfc4122 #section-3
127
+ * @see https://datatracker .ietf.org/doc/ html/rfc9562/ #section-4
128
128
*
129
129
* @example 09748193-048a-4bfb-b825-8528cf74fdc1 (len=36)
130
130
*/
Original file line number Diff line number Diff line change @@ -153,9 +153,9 @@ public function toBinary(): string
153
153
}
154
154
155
155
/**
156
- * Returns the identifier as a RFC4122 case insensitive string.
156
+ * Returns the identifier as a RFC 9562/4122 case insensitive string.
157
157
*
158
- * @see https://tools .ietf.org/html/rfc4122 #section-3
158
+ * @see https://datatracker .ietf.org/doc/ html/rfc9562/ #section-4
159
159
*
160
160
* @example 09748193-048a-4bfb-b825-8528cf74fdc1 (len=36)
161
161
*/
You can’t perform that action at this time.
0 commit comments