Reverted trigger_error() function calls on deprecated interfaces to prevent breaking third party projects implementing them.

This commit is contained in:
Hugo Hamon 2014-12-29 17:12:05 +01:00
parent 86b9f6b0c6
commit 6f57b7b552
15 changed files with 0 additions and 30 deletions

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Form\Extension\Csrf\CsrfProvider;
trigger_error('The '.__NAMESPACE__.'\CsrfProviderInterface interface is deprecated since version 2.4 and will be removed in version 3.0. Use the Symfony\Component\Security\Csrf\CsrfTokenManagerInterface interface instead.', E_USER_DEPRECATED);
/**
* Marks classes able to provide CSRF protection.
*

View File

@ -15,8 +15,6 @@
namespace Symfony\Component\HttpKernel\HttpCache;
trigger_error('The '.__NAMESPACE__.'\EsiResponseCacheStrategyInterface interface is deprecated since version 2.6 and will be removed in 3.0. Use the Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategyInterface interface instead.', E_USER_DEPRECATED);
/**
* ResponseCacheStrategyInterface implementations know how to compute the
* Response cache HTTP header based on the different response cache headers.

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\HttpKernel\Log;
trigger_error('The '.__NAMESPACE__.'\LoggerInterface interface is deprecated since version 2.2 and will be removed in 3.0. Type-hint with the \Psr\Log\LoggerInterface interface instead.', E_USER_DEPRECATED);
use Psr\Log\LoggerInterface as PsrLogger;
/**

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\OptionsResolver;
trigger_error('The '.__NAMESPACE__.'\OptionsResolverInterface interface is deprecated since version 2.6 and will be removed in 3.0. Use the Symfony\Component\OptionsResolver\OptionsResolver class instead.', E_USER_DEPRECATED);
use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException;
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
use Symfony\Component\OptionsResolver\Exception\OptionDefinitionException;

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Security\Core;
trigger_error('The '.__NAMESPACE__.'\SecurityContextInterface interface is deprecated since version 2.6 and will be removed in 3.0. Use both Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface and Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface interfaces instead.', E_USER_DEPRECATED);
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Templating;
trigger_error('The '.__NAMESPACE__.'\DebuggerInterface interface is deprecated since version 2.4 and will be removed in 3.0. Use Psr\Log\LoggerInterface instead.', E_USER_DEPRECATED);
/**
* DebuggerInterface is the interface you need to implement
* to debug template loader instances.

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\ClassBasedInterface interface is deprecated since version 2.7 and will be removed in 3.0. Use the Symfony\Component\Validator\Mapping\ClassMetadataInterface interface instead', E_USER_DEPRECATED);
/**
* An object backed by a PHP class.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\ExecutionContextInterface interface is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\Component\Validator\Context\ExecutionContextInterface interface instead.', E_USER_DEPRECATED);
/**
* Stores the validator's state during validation.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\GlobalExecutionContextInterface interface is deprecated since version 2.5 and will be removed in version 3.0. Use the Symfony\Component\Validator\Context\ExecutionContextInterface interface instead', E_USER_DEPRECATED);
/**
* Stores the node-independent state of a validation run.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\MetadataFactoryInterface interface is deprecated since version 2.5 and will be removed in Symfony 3.0. Use the Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface interface instead.', E_USER_DEPRECATED);
/**
* Returns {@link MetadataInterface} instances for values.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\MetadataInterface interface is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\Component\Validator\Mapping\MetadataInterface interface instead.', E_USER_DEPRECATED);
/**
* A container for validation metadata.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.' interface is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\Component\Validator\Mapping\ClassMetadataInterface interface instead.', E_USER_DEPRECATED);
/**
* A container for {@link PropertyMetadataInterface} instances.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\PropertyMetadataInterface interface is deprecated since version 2.5 and will be removed in version 3.0. Use the Symfony\Component\Validator\Mapping\PropertyMetadataInterface interface instead', E_USER_DEPRECATED);
/**
* A container for validation metadata of a property.
*

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\ValidationVisitorInterface interface is deprecated since version 2.5 and will be removed in version 3.0.', E_USER_DEPRECATED);
/**
* Validates values against constraints defined in {@link MetadataInterface}
* instances.

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Validator;
trigger_error('The '.__NAMESPACE__.'\ValidatorInterface interface is deprecated since version 2.5 and will be removed in version 3.0. Use the Symfony\Component\Validator\Validator\ValidatorInterface interface instead.', E_USER_DEPRECATED);
/**
* Validates values and graphs of objects and arrays.
*