summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreecefowell <reece@codeconsortium.com>2015-06-07 07:33:05 +0100
committerreecefowell <reece@codeconsortium.com>2015-06-08 10:37:21 +0100
commitf661d9367f281bce3704211a06028b82c1ed3314 (patch)
treefa3d49cd4a6c8a1ac18e0e1f187fed084864b3cf
parent28720becb233c5a040e9c9f636f98ea0b6f11149 (diff)
downloadsymfony-security-f661d9367f281bce3704211a06028b82c1ed3314.zip
symfony-security-f661d9367f281bce3704211a06028b82c1ed3314.tar.gz
symfony-security-f661d9367f281bce3704211a06028b82c1ed3314.tar.bz2
Silence invasive deprecation warnings, opt-in for warningsv2.7.1
-rw-r--r--Core/SecurityContext.php2
-rw-r--r--Core/SecurityContextInterface.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Core/SecurityContext.php b/Core/SecurityContext.php
index 27e85c5..8bcbfee 100644
--- a/Core/SecurityContext.php
+++ b/Core/SecurityContext.php
@@ -11,7 +11,7 @@
namespace Symfony\Component\Security\Core;
-trigger_error('The '.__NAMESPACE__.'\SecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage or Symfony\Component\Security\Core\Authorization\AuthorizationChecker instead.', E_USER_DEPRECATED);
+@trigger_error('The '.__NAMESPACE__.'\SecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage or Symfony\Component\Security\Core\Authorization\AuthorizationChecker instead.', E_USER_DEPRECATED);
use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php
index f260aa3..61cdf4f 100644
--- a/Core/SecurityContextInterface.php
+++ b/Core/SecurityContextInterface.php
@@ -11,7 +11,7 @@
namespace Symfony\Component\Security\Core;
-trigger_error('The '.__NAMESPACE__.'\SecurityContextInterface interface is deprecated since version 2.6 and will be removed in 3.0.', E_USER_DEPRECATED);
+@trigger_error('The '.__NAMESPACE__.'\SecurityContextInterface interface is deprecated since version 2.6 and will be removed in 3.0.', E_USER_DEPRECATED);
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;