From 069d74fdced51cf411b6514986045bf0e9a2aa03 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Fri, 5 Aug 2022 16:55:10 -0500 Subject: [PATCH] Remove deprecated Uuid::UUID_TYPE_IDENTIFIER constant --- src/Uuid.php | 5 ----- tests/ExpectedBehaviorTest.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Uuid.php b/src/Uuid.php index a702e44..b94cffe 100644 --- a/src/Uuid.php +++ b/src/Uuid.php @@ -94,11 +94,6 @@ class Uuid implements Rfc4122UuidInterface */ public const UUID_TYPE_DCE_SECURITY = 2; - /** - * @deprecated Use {@see Uuid::UUID_TYPE_DCE_SECURITY} instead. - */ - public const UUID_TYPE_IDENTIFIER = 2; - /** * Version 3 (name-based and hashed with MD5) UUID * diff --git a/tests/ExpectedBehaviorTest.php b/tests/ExpectedBehaviorTest.php index 002650e..26607fb 100644 --- a/tests/ExpectedBehaviorTest.php +++ b/tests/ExpectedBehaviorTest.php @@ -566,7 +566,7 @@ class ExpectedBehaviorTest extends TestCase ['NAMESPACE_X500', '6ba7b814-9dad-11d1-80b4-00c04fd430c8'], ['NIL', '00000000-0000-0000-0000-000000000000'], ['UUID_TYPE_TIME', 1], - ['UUID_TYPE_IDENTIFIER', 2], + ['UUID_TYPE_DCE_SECURITY', 2], ['UUID_TYPE_HASH_MD5', 3], ['UUID_TYPE_RANDOM', 4], ['UUID_TYPE_HASH_SHA1', 5],