Completed
Pull Request — master (#6)
by Benjamin
12:56
created
Twig/DisplayLinkExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
         if ($env === 'dev' && strpos($link, 'http') === false) {
28 28
             $dev = ($link[0] === '/') ? 'app_dev.php' : 'app_dev.php/';
29
-            $link = $dev.$link;
29
+            $link = $dev . $link;
30 30
         }
31 31
 
32 32
         return $link;
Please login to merge, or discard this patch.
Controller/Admin/CRUD/MenuAdmin.php 7 patches
Doc Comments   -7 removed lines patch added patch discarded remove patch
@@ -74,10 +74,3 @@
 block discarded – undo
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76 76
 <<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
Please login to merge, or discard this patch.
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -74,10 +74,3 @@
 block discarded – undo
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76 76
 <<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
Please login to merge, or discard this patch.
Indentation   -7 removed lines patch added patch discarded remove patch
@@ -74,10 +74,3 @@
 block discarded – undo
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76 76
 <<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
Please login to merge, or discard this patch.
Switch Indentation   -7 removed lines patch added patch discarded remove patch
@@ -74,10 +74,3 @@
 block discarded – undo
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76 76
 <<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
Please login to merge, or discard this patch.
Spacing   +3 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     public function createQuery($context = 'list')
13 13
     {
14 14
         $query = parent::createQuery($context);
15
-        $query->addOrderBy($query->getRootAlias().'.locale', 'ASC');
15
+        $query->addOrderBy($query->getRootAlias() . '.locale', 'ASC');
16 16
 
17 17
         return $query;
18 18
     }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     protected function configureRoutes(RouteCollection $collection)
21 21
     {
22 22
         $collection->remove('create');
23
-        $collection->add('item', $this->getRouterIdParameter().'/item');
23
+        $collection->add('item', $this->getRouterIdParameter() . '/item');
24 24
     }
25 25
 
26 26
     protected function configureFormFields(FormMapper $formMapper)
@@ -73,11 +73,4 @@  discard block
 block discarded – undo
73 73
                     'item' => [
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76
-<<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
76
+<< << <<< HEAD
Please login to merge, or discard this patch.
Braces   -7 removed lines patch added patch discarded remove patch
@@ -74,10 +74,3 @@
 block discarded – undo
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76 76
 <<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
Please login to merge, or discard this patch.
Upper-Lower-Casing   -7 removed lines patch added patch discarded remove patch
@@ -74,10 +74,3 @@
 block discarded – undo
74 74
                         'template' => 'AlpixelMenuBundle:CRUD:list__action_item.html.twig',
75 75
                     ],
76 76
 <<<<<<< HEAD
77
-=======
78
-                    'edit' => [],
79
->>>>>>> master
80
-                ],
81
-            ]);
82
-    }
83
-}
Please login to merge, or discard this patch.
Controller/Admin/CRUD/ItemAdmin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     protected function configureRoutes(RouteCollection $collection)
27 27
     {
28
-        $collection->add('move', $this->getRouterIdParameter().'/move/{position}');
28
+        $collection->add('move', $this->getRouterIdParameter() . '/move/{position}');
29 29
     }
30 30
 
31 31
     public function getPersistentParameters()
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $id = $this->getRequest()->query->getInt('menu');
45 45
         $query = parent::createQuery($context);
46
-        $query->join($query->getRootAlias().'.menu', 'm')
46
+        $query->join($query->getRootAlias() . '.menu', 'm')
47 47
             ->where('m.id = :id')
48 48
             ->setParameters([
49 49
                 'id' => $id,
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                     'label'         => 'Menu',
64 64
                     'required'      => true,
65 65
                     'property'      => 'name',
66
-                    'query_builder' => function (EntityRepository $entityRepository) use ($id) {
66
+                    'query_builder' => function(EntityRepository $entityRepository) use ($id) {
67 67
                         $query = $entityRepository->createQuerybuilder('m');
68 68
                         if ($id == null) {
69 69
                             return $query;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                 'label'         => 'Menu',
82 82
                 'required'      => true,
83 83
                 'property'      => 'name',
84
-                'query_builder' => function (EntityRepository $entityRepository) use ($id) {
84
+                'query_builder' => function(EntityRepository $entityRepository) use ($id) {
85 85
                     $query = $entityRepository->createQuerybuilder('m');
86 86
                     if ($id == null) {
87 87
                         return $query;
Please login to merge, or discard this patch.