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

Commit a98ce20

Browse files
[PhpUnitBridge] Enforce @-silencing of deprecation notices according to new policy
1 parent fd0b8b9 commit a98ce20

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Core/Tests/LegacySecurityContextTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class LegacySecurityContextTest extends \PHPUnit_Framework_TestCase
2626

2727
protected function setUp()
2828
{
29-
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
30-
3129
$this->tokenStorage = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface');
3230
$this->authorizationChecker = $this->getMock('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface');
3331
$this->securityContext = new SecurityContext($this->tokenStorage, $this->authorizationChecker);

Tests/Core/LegacySecurityContextInterfaceTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class LegacySecurityContextInterfaceTest extends \PHPUnit_Framework_TestCase
2424
*/
2525
public function testConstantSync()
2626
{
27-
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
28-
2927
$this->assertSame(Security::ACCESS_DENIED_ERROR, SecurityContextInterface::ACCESS_DENIED_ERROR);
3028
$this->assertSame(Security::AUTHENTICATION_ERROR, SecurityContextInterface::AUTHENTICATION_ERROR);
3129
$this->assertSame(Security::LAST_USERNAME, SecurityContextInterface::LAST_USERNAME);

0 commit comments

Comments
 (0)