removed deprecation notice for internal constant
This commit is contained in:
parent
339afcac19
commit
19be8b0e54
@ -1,27 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of the Symfony package.
|
|
||||||
*
|
|
||||||
* (c) Fabien Potencier <fabien@symfony.com>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Symfony\Component\Validator\Mapping\Deprecated;
|
|
||||||
|
|
||||||
trigger_error('Constants STOP_RECURSION in class Symfony\Component\Validator\Mapping\TraversalStrategy is deprecated since version 2.3 and will be removed in 3.0.', E_USER_DEPRECATED);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated since version 2.7, to be removed in 3.0.
|
|
||||||
* @internal
|
|
||||||
*/
|
|
||||||
final class TraversalStrategy
|
|
||||||
{
|
|
||||||
const STOP_RECURSION = 8;
|
|
||||||
|
|
||||||
private function __construct()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\Validator\Mapping;
|
namespace Symfony\Component\Validator\Mapping;
|
||||||
|
|
||||||
use Symfony\Component\Validator\Mapping\Deprecated\TraversalStrategy as Deprecated;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies whether and how a traversable object should be traversed.
|
* Specifies whether and how a traversable object should be traversed.
|
||||||
*
|
*
|
||||||
@ -57,7 +55,7 @@ class TraversalStrategy
|
|||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
const STOP_RECURSION = Deprecated::STOP_RECURSION;
|
const STOP_RECURSION = 8;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Not instantiable.
|
* Not instantiable.
|
||||||
|
Reference in New Issue
Block a user