From cc6146ca5e6e1f504f97dfb5dfc3601491129f8b Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Fri, 30 Dec 2022 00:50:16 +0100 Subject: [PATCH] Deprecate internal constants --- src/Doctrine/Instantiator/Instantiator.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Doctrine/Instantiator/Instantiator.php b/src/Doctrine/Instantiator/Instantiator.php index 484ae26..930d349 100644 --- a/src/Doctrine/Instantiator/Instantiator.php +++ b/src/Doctrine/Instantiator/Instantiator.php @@ -28,8 +28,12 @@ final class Instantiator implements InstantiatorInterface * Markers used internally by PHP to define whether {@see \unserialize} should invoke * the method {@see \Serializable::unserialize()} when dealing with classes implementing * the {@see \Serializable} interface. + * + * @deprecated This constant will be private in 2.0 */ public const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C'; + + /** @deprecated This constant will be private in 2.0 */ public const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O'; /**