@@ -25,6 +25,6 @@ |
||
25 | 25 | */ |
26 | 26 | public function registerContainerConfiguration(LoaderInterface $loader) |
27 | 27 | { |
28 | - $loader->load(__DIR__ . '/config_' . $this->getEnvironment() . '.yml'); |
|
28 | + $loader->load(__DIR__.'/config_'.$this->getEnvironment().'.yml'); |
|
29 | 29 | } |
30 | 30 | } |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use Symfony\Component\Config\FileLocator; |
13 | 13 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
14 | 14 | use Symfony\Component\DependencyInjection\Loader; |
15 | -use Symfony\Component\DependencyInjection\Reference; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author John Kleijn <[email protected]> |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) |
41 | 41 | { |
42 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
42 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
43 | 43 | |
44 | 44 | $loader->load('security/request_voting.yml'); |
45 | 45 |
@@ -86,7 +86,7 @@ |
||
86 | 86 | } elseif ($exception instanceof AuthenticationException) { |
87 | 87 | $this->statusCode = Response::HTTP_UNAUTHORIZED; |
88 | 88 | $this->severity = LogLevel::WARNING; |
89 | - } elseif ($exception instanceof AccessDeniedException || $exception instanceof AccessDeniedHttpException) { |
|
89 | + } elseif ($exception instanceof AccessDeniedException || $exception instanceof AccessDeniedHttpException) { |
|
90 | 90 | $this->statusCode = Response::HTTP_FORBIDDEN; |
91 | 91 | $this->severity = LogLevel::WARNING; |
92 | 92 | } else { |