Skip to content

Commit 7e78434

Browse files
author
Hugo Hamon
committed
Reverted trigger_error() function calls on deprecated interfaces to prevent breaking third party projects implementing them.
1 parent f2f8e75 commit 7e78434

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

HttpCache/EsiResponseCacheStrategyInterface.php

Lines 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.

Log/LoggerInterface.php

Lines 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
/**

0 commit comments

Comments
 (0)