diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-01-05 18:41:06 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-01-05 18:41:06 +0100 |
commit | 96a2cc6c95aca3a6304c14a7614bb5540d429c99 (patch) | |
tree | dbb002a3f28e4078d9de8da49a372fd81cd44b73 | |
parent | 887bcdd527e7a428d5073db41213d18cdc10b8ef (diff) | |
download | symfony-security-96a2cc6c95aca3a6304c14a7614bb5540d429c99.zip symfony-security-96a2cc6c95aca3a6304c14a7614bb5540d429c99.tar.gz symfony-security-96a2cc6c95aca3a6304c14a7614bb5540d429c99.tar.bz2 |
[2.6] fix deprecation silencing...
-rw-r--r-- | Tests/Core/LegacySecurityContextInterfaceTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Core/LegacySecurityContextInterfaceTest.php b/Tests/Core/LegacySecurityContextInterfaceTest.php index 764a43d..8f68475 100644 --- a/Tests/Core/LegacySecurityContextInterfaceTest.php +++ b/Tests/Core/LegacySecurityContextInterfaceTest.php @@ -21,7 +21,7 @@ class LegacySecurityContextInterfaceTest extends \PHPUnit_Framework_TestCase */ public function testConstantSync() { - $this->iniSet('error_reporting', -1 & E_USER_DEPRECATED); + $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); $this->assertSame(Security::ACCESS_DENIED_ERROR, SecurityContextInterface::ACCESS_DENIED_ERROR); $this->assertSame(Security::AUTHENTICATION_ERROR, SecurityContextInterface::AUTHENTICATION_ERROR); |