@@ -19,6 +19,6 @@ |
||
19 | 19 | |
20 | 20 | public function registerContainerConfiguration(LoaderInterface $loader) |
21 | 21 | { |
22 | - $loader->load(__DIR__.'/../config/config.yml'); |
|
22 | + $loader->load(__DIR__ . '/../config/config.yml'); |
|
23 | 23 | } |
24 | 24 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | $_SERVER['env'] = 'test'; |
4 | 4 | use Doctrine\Common\Annotations\AnnotationRegistry; |
5 | -if (!is_file($loaderFile = __DIR__.'/../vendor/autoload.php')) { |
|
5 | +if (!is_file($loaderFile = __DIR__ . '/../vendor/autoload.php')) { |
|
6 | 6 | throw new \LogicException('Could not find autoload.php in vendor/. Did you run "composer install --dev"?'); |
7 | 7 | } |
8 | 8 | $loader = require $loaderFile; |
@@ -111,7 +111,7 @@ |
||
111 | 111 | { |
112 | 112 | $item = new Item(); |
113 | 113 | $item->setMenu($menu); |
114 | - $item->setName('Item '.$i); |
|
114 | + $item->setName('Item ' . $i); |
|
115 | 115 | $item->setPosition($i); |
116 | 116 | $item->setUri('http://alpixel.fr'); |
117 | 117 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | $configuration = new Configuration(); |
28 | 28 | $this->processConfiguration($configuration, $configs); |
29 | 29 | |
30 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | $loader->load('services.yml'); |
32 | 32 | |
33 | 33 | $menuBuilder = $container->getDefinition('alpixel_menu.builder'); |