Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6f57b7b

Browse filesBrowse files
author
Hugo Hamon
committed
Reverted trigger_error() function calls on deprecated interfaces to prevent breaking third party projects implementing them.
1 parent 86b9f6b commit 6f57b7b
Copy full SHA for 6f57b7b
Expand file treeCollapse file tree

15 files changed

+0
-30
lines changed

‎src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Form\Extension\Csrf\CsrfProvider;
1313

14-
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);
15-
1614
/**
1715
* Marks classes able to provide CSRF protection.
1816
*

‎src/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategyInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategyInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
namespace Symfony\Component\HttpKernel\HttpCache;
1717

18-
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);
19-
2018
/**
2119
* ResponseCacheStrategyInterface implementations know how to compute the
2220
* Response cache HTTP header based on the different response cache headers.

‎src/Symfony/Component/HttpKernel/Log/LoggerInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Log/LoggerInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\HttpKernel\Log;
1313

14-
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);
15-
1614
use Psr\Log\LoggerInterface as PsrLogger;
1715

1816
/**

‎src/Symfony/Component/OptionsResolver/OptionsResolverInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/OptionsResolver/OptionsResolverInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\OptionsResolver;
1313

14-
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);
15-
1614
use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException;
1715
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
1816
use Symfony\Component\OptionsResolver\Exception\OptionDefinitionException;

‎src/Symfony/Component/Security/Core/SecurityContextInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/SecurityContextInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Security\Core;
1313

14-
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);
15-
1614
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
1715
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
1816

‎src/Symfony/Component/Templating/DebuggerInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Templating/DebuggerInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Templating;
1313

14-
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);
15-
1614
/**
1715
* DebuggerInterface is the interface you need to implement
1816
* to debug template loader instances.

‎src/Symfony/Component/Validator/ClassBasedInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/ClassBasedInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* An object backed by a PHP class.
1816
*

‎src/Symfony/Component/Validator/ExecutionContextInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/ExecutionContextInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* Stores the validator's state during validation.
1816
*

‎src/Symfony/Component/Validator/GlobalExecutionContextInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/GlobalExecutionContextInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* Stores the node-independent state of a validation run.
1816
*

‎src/Symfony/Component/Validator/MetadataFactoryInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/MetadataFactoryInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* Returns {@link MetadataInterface} instances for values.
1816
*

‎src/Symfony/Component/Validator/MetadataInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/MetadataInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* A container for validation metadata.
1816
*

‎src/Symfony/Component/Validator/PropertyMetadataContainerInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/PropertyMetadataContainerInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* A container for {@link PropertyMetadataInterface} instances.
1816
*

‎src/Symfony/Component/Validator/PropertyMetadataInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/PropertyMetadataInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* A container for validation metadata of a property.
1816
*

‎src/Symfony/Component/Validator/ValidationVisitorInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/ValidationVisitorInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
trigger_error('The '.__NAMESPACE__.'\ValidationVisitorInterface interface is deprecated since version 2.5 and will be removed in version 3.0.', E_USER_DEPRECATED);
15-
1614
/**
1715
* Validates values against constraints defined in {@link MetadataInterface}
1816
* instances.

‎src/Symfony/Component/Validator/ValidatorInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/ValidatorInterface.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\Validator;
1313

14-
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);
15-
1614
/**
1715
* Validates values and graphs of objects and arrays.
1816
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.