Skip to content

Commit 5963627

Browse files
committed
[SecurityBundle] Make the FirewallConfig class final
1 parent 9e2ad93 commit 5963627

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/Symfony/Bundle/SecurityBundle/Security/FirewallConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @author Robin Chalas <[email protected]>
1616
*/
17-
class FirewallConfig
17+
final class FirewallConfig
1818
{
1919
private $name;
2020
private $requestMatcher;

src/Symfony/Bundle/SecurityBundle/Tests/Security/FirewallContextTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class FirewallContextTest extends \PHPUnit_Framework_TestCase
2020
{
2121
public function testGetters()
2222
{
23-
$config = $this
24-
->getMockBuilder(FirewallConfig::class)
25-
->disableOriginalConstructor()
26-
->getMock();
23+
$config = new FirewallConfig('main', 'request_matcher');
2724

2825
$exceptionListener = $this
2926
->getMockBuilder(ExceptionListener::class)

0 commit comments

Comments
 (0)