Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit df42c78

Browse files
committed
minor #13271 [2.6] fix deprecation silencing... (nicolas-grekas)
This PR was merged into the 2.6 branch. Discussion ---------- [2.6] fix deprecation silencing... | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - My bad... Commits ------- 57fddbf [2.6] fix deprecation silencing...
2 parents d63f37b + 96a2cc6 commit df42c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Core/LegacySecurityContextInterfaceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LegacySecurityContextInterfaceTest extends \PHPUnit_Framework_TestCase
2121
*/
2222
public function testConstantSync()
2323
{
24-
$this->iniSet('error_reporting', -1 & E_USER_DEPRECATED);
24+
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2525

2626
$this->assertSame(Security::ACCESS_DENIED_ERROR, SecurityContextInterface::ACCESS_DENIED_ERROR);
2727
$this->assertSame(Security::AUTHENTICATION_ERROR, SecurityContextInterface::AUTHENTICATION_ERROR);

0 commit comments

Comments
 (0)