[SecurityBundle] Make the FirewallConfig class final
This commit is contained in:
parent
9e2ad932e9
commit
5963627d06
@ -14,7 +14,7 @@ namespace Symfony\Bundle\SecurityBundle\Security;
|
||||
/**
|
||||
* @author Robin Chalas <robin.chalas@gmail.com>
|
||||
*/
|
||||
class FirewallConfig
|
||||
final class FirewallConfig
|
||||
{
|
||||
private $name;
|
||||
private $requestMatcher;
|
||||
|
@ -20,10 +20,7 @@ class FirewallContextTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testGetters()
|
||||
{
|
||||
$config = $this
|
||||
->getMockBuilder(FirewallConfig::class)
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
$config = new FirewallConfig('main', 'request_matcher');
|
||||
|
||||
$exceptionListener = $this
|
||||
->getMockBuilder(ExceptionListener::class)
|
||||
|
Reference in New Issue
Block a user