summaryrefslogtreecommitdiffstats
path: root/Tests/Core/LegacySecurityContextInterfaceTest.php
diff options
context:
space:
mode:
authorHugo Hamon <hugo.hamon@sensiolabs.com>2014-12-21 12:39:54 +0100
committerHugo Hamon <hugo.hamon@sensiolabs.com>2015-01-05 15:57:15 +0100
commit7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee (patch)
tree289ad26957000fbd09cec810fad29e654f297cbc /Tests/Core/LegacySecurityContextInterfaceTest.php
parent79471f92de28ed0acf9cce11051ebc47964acfbb (diff)
downloadsymfony-security-7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee.zip
symfony-security-7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee.tar.gz
symfony-security-7c3ed12a9ba65db90f7c3b8333c5c8ac7fae76ee.tar.bz2
Adds deprecation notices for structures to be removed in 3.0.
Diffstat (limited to 'Tests/Core/LegacySecurityContextInterfaceTest.php')
-rw-r--r--Tests/Core/LegacySecurityContextInterfaceTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/Core/LegacySecurityContextInterfaceTest.php b/Tests/Core/LegacySecurityContextInterfaceTest.php
index 764a43d..3ff91d5 100644
--- a/Tests/Core/LegacySecurityContextInterfaceTest.php
+++ b/Tests/Core/LegacySecurityContextInterfaceTest.php
@@ -11,6 +11,8 @@
namespace Symfony\Component\Security\Tests\Core;
+trigger_error('The '.__NAMESPACE__.'\SecurityContextInterfaceTest class is deprecated since version 2.6 and will be removed in 3.0.', E_USER_DEPRECATED);
+
use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\Security\Core\Security;