removed deprecation notice for internal constant

This commit is contained in:
Fabien Potencier 2015-01-20 01:45:42 +01:00
parent 339afcac19
commit 19be8b0e54
2 changed files with 1 additions and 30 deletions

View File

@ -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()
{
}
}

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator\Mapping;
use Symfony\Component\Validator\Mapping\Deprecated\TraversalStrategy as Deprecated;
/**
* Specifies whether and how a traversable object should be traversed.
*
@ -57,7 +55,7 @@ class TraversalStrategy
*
* @internal
*/
const STOP_RECURSION = Deprecated::STOP_RECURSION;
const STOP_RECURSION = 8;
/**
* Not instantiable.