@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->setDescription('Initialize default permissions & roles in the application.') |
| 31 | 31 | ->setHelp(<<<EOT |
| 32 | 32 | The <info>%command.name%</info> command initializes default RBAC setup. |
| 33 | -EOT |
|
| 33 | +eot |
|
| 34 | 34 | ) |
| 35 | 35 | ; |
| 36 | 36 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
| 18 | 18 | use Symfony\Component\DependencyInjection\Parameter; |
| 19 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -68,6 +68,6 @@ |
||
| 68 | 68 | */ |
| 69 | 69 | private function getCacheKey(TemplateReferenceInterface $template, ThemeInterface $theme) |
| 70 | 70 | { |
| 71 | - return $template->getLogicalName().'|'.$theme->getName(); |
|
| 71 | + return $template->getLogicalName() . '|' . $theme->getName(); |
|
| 72 | 72 | } |
| 73 | 73 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
| 18 | 18 | use Symfony\Component\DependencyInjection\Parameter; |
| 19 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $config, ContainerBuilder $container) |
| 30 | 30 | { |
| 31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 32 | 32 | $loader->load('services.xml'); |
| 33 | 33 | $loader->load('twig.xml'); |
| 34 | 34 | } |
@@ -15,8 +15,6 @@ |
||
| 15 | 15 | use Symfony\Component\Config\FileLocator; |
| 16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
| 18 | -use Symfony\Component\DependencyInjection\Parameter; |
|
| 19 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 20 | 18 | |
| 21 | 19 | /** |
| 22 | 20 | * @author Paweł Jędrzejewski <[email protected]> |