Skip to content

Commit

Permalink
Deprecate internal constants
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Dec 30, 2022
1 parent b289625 commit 24c7746
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Doctrine/Instantiator/Instantiator.php
Expand Up @@ -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';
public const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C';

/** @deprecated This constant will be private in 2.0 */
public const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O';

/**
Expand Down

0 comments on commit 24c7746

Please sign in to comment.