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 29, 2022
1 parent b289625 commit cc6146c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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';

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

/**
Expand Down

0 comments on commit cc6146c

Please sign in to comment.