Completed
Push — master ( 544597...c82052 )
by Alexis
02:10
created
DependencyInjection/AlpixelMenuExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
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');
34
-        $menuBuilder->addMethodCall('setDefaultLocale', [$container->getParameter('locale')] );
34
+        $menuBuilder->addMethodCall('setDefaultLocale', [$container->getParameter('locale')]);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
Entity/Menu.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     public function removeItem(ItemInterface $item)
140 140
     {
141
-        if($this->items->contains($item) === true) {
141
+        if ($this->items->contains($item) === true) {
142 142
             $this->items->remove($item);
143 143
         }
144 144
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     public function addItems(ArrayCollection $items)
156 156
     {
157 157
         foreach ($items as $item) {
158
-            if($this->items->contains($item) === false) {
158
+            if ($this->items->contains($item) === false) {
159 159
                 $this->setItem($item);
160 160
             }
161 161
         }
Please login to merge, or discard this patch.
Tests/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.