@@ -57,7 +57,7 @@  | 
                                                    ||
| 57 | 57 | $i = 1;  | 
                                                        
| 58 | 58 |              foreach ($filters as $w_key => $w_value) { | 
                                                        
| 59 | 59 |                  $qb->andWhere($qb->expr()->eq('tbl.' . $w_key, '?' . $i)) | 
                                                        
| 60 | - ->setParameter($i, $w_value);  | 
                                                        |
| 60 | + ->setParameter($i, $w_value);  | 
                                                        |
| 61 | 61 | $i++;  | 
                                                        
| 62 | 62 | }  | 
                                                        
| 63 | 63 | }  | 
                                                        
@@ -36,12 +36,12 @@  | 
                                                    ||
| 36 | 36 | |
| 37 | 37 |          if ($parentId > 0) { | 
                                                        
| 38 | 38 |              $qb->andWhere('c.parent = :parentid') | 
                                                        
| 39 | -               ->setParameter('parentid', $parentId); | 
                                                        |
| 39 | +                ->setParameter('parentid', $parentId); | 
                                                        |
| 40 | 40 | }  | 
                                                        
| 41 | 41 | |
| 42 | 42 |          if ($excludedId > 0) { | 
                                                        
| 43 | 43 |              $qb->andWhere('c.id != :id') | 
                                                        
| 44 | -               ->setParameter('id', $excludedId); | 
                                                        |
| 44 | +                ->setParameter('id', $excludedId); | 
                                                        |
| 45 | 45 | }  | 
                                                        
| 46 | 46 | |
| 47 | 47 | $query = $qb->getQuery();  | 
                                                        
@@ -208,7 +208,7 @@  | 
                                                    ||
| 208 | 208 |  if (typeof exports !== "undefined" && typeof module !== "undefined") { | 
                                                        
| 209 | 209 | module.exports = components;  | 
                                                        
| 210 | 210 | }  | 
                                                        
| 211 | -EOT;  | 
                                                        |
| 211 | +eot;  | 
                                                        |
| 212 | 212 | |
| 213 | 213 | return $output;  | 
                                                        
| 214 | 214 | }  | 
                                                        
@@ -118,7 +118,7 @@  | 
                                                    ||
| 118 | 118 | }  | 
                                                        
| 119 | 119 | }  | 
                                                        
| 120 | 120 | }  | 
                                                        
| 121 | -EOF  | 
                                                        |
| 121 | +eof  | 
                                                        |
| 122 | 122 | ;  | 
                                                        
| 123 | 123 | |
| 124 | 124 | return json_decode($json, true);  | 
                                                        
@@ -56,7 +56,7 @@  | 
                                                    ||
| 56 | 56 | |
| 57 | 57 | <info>php %command.full_name% web --symlink --relative</info>  | 
                                                        
| 58 | 58 | |
| 59 | -EOT  | 
                                                        |
| 59 | +eot  | 
                                                        |
| 60 | 60 | );  | 
                                                        
| 61 | 61 | }  | 
                                                        
| 62 | 62 | |
@@ -46,12 +46,12 @@ discard block  | 
                                                    ||
| 46 | 46 | |
| 47 | 47 |          if (null !== $groupType) { | 
                                                        
| 48 | 48 |              $qb->where('g.gtype = :gtype') | 
                                                        
| 49 | -               ->setParameter('gtype', $groupType); | 
                                                        |
| 49 | +                ->setParameter('gtype', $groupType); | 
                                                        |
| 50 | 50 | }  | 
                                                        
| 51 | 51 | |
| 52 | 52 |          if (null !== $excludedState) { | 
                                                        
| 53 | 53 |              $qb->andWhere('g.state != :state') | 
                                                        
| 54 | -               ->setParameter('state', $excludedState); | 
                                                        |
| 54 | +                ->setParameter('state', $excludedState); | 
                                                        |
| 55 | 55 | }  | 
                                                        
| 56 | 56 | |
| 57 | 57 | $query = $qb->getQuery();  | 
                                                        
@@ -79,7 +79,7 @@ discard block  | 
                                                    ||
| 79 | 79 | $i = 1;  | 
                                                        
| 80 | 80 |              foreach ($filters as $w_key => $w_value) { | 
                                                        
| 81 | 81 |                  $qb->andWhere($qb->expr()->eq('g.' . $w_key, '?' . $i)) | 
                                                        
| 82 | - ->setParameter($i, $w_value);  | 
                                                        |
| 82 | + ->setParameter($i, $w_value);  | 
                                                        |
| 83 | 83 | $i++;  | 
                                                        
| 84 | 84 | }  | 
                                                        
| 85 | 85 | }  | 
                                                        
@@ -87,7 +87,7 @@ discard block  | 
                                                    ||
| 87 | 87 | $i = 1;  | 
                                                        
| 88 | 88 |              foreach ($exclusions as $w_key => $w_value) { | 
                                                        
| 89 | 89 |                  $qb->andWhere($qb->expr()->neq('g.' . $w_key, '?' . $i)) | 
                                                        
| 90 | - ->setParameter($i, $w_value);  | 
                                                        |
| 90 | + ->setParameter($i, $w_value);  | 
                                                        |
| 91 | 91 | $i++;  | 
                                                        
| 92 | 92 | }  | 
                                                        
| 93 | 93 | }  | 
                                                        
@@ -163,7 +163,7 @@ discard block  | 
                                                    ||
| 163 | 163 | // already another group by that name.  | 
                                                        
| 164 | 164 |          if (is_numeric($excludedGroupId) && $excludedGroupId > 0) { | 
                                                        
| 165 | 165 |              $qb->andWhere($qb->expr()->neq('g.gid', ':ggid')) | 
                                                        
| 166 | -               ->setParameter('ggid', $excludedGroupId); | 
                                                        |
| 166 | +                ->setParameter('ggid', $excludedGroupId); | 
                                                        |
| 167 | 167 | }  | 
                                                        
| 168 | 168 | |
| 169 | 169 | $query = $qb->getQuery();  | 
                                                        
@@ -41,8 +41,8 @@  | 
                                                    ||
| 41 | 41 | |
| 42 | 42 | $qb = $this->getEntityManager()->createQueryBuilder();  | 
                                                        
| 43 | 43 | $qb->delete($this->mainEntityClass, 'tbl')  | 
                                                        
| 44 | -           ->where('tbl.bundle = :bundle') | 
                                                        |
| 45 | -           ->setParameter('bundle', $bundleName); | 
                                                        |
| 44 | +            ->where('tbl.bundle = :bundle') | 
                                                        |
| 45 | +            ->setParameter('bundle', $bundleName); | 
                                                        |
| 46 | 46 | $query = $qb->getQuery();  | 
                                                        
| 47 | 47 | $query->execute();  | 
                                                        
| 48 | 48 | }  | 
                                                        
@@ -44,7 +44,7 @@  | 
                                                    ||
| 44 | 44 |      { | 
                                                        
| 45 | 45 | $text = preg_replace_callback(  | 
                                                        
| 46 | 46 | '/<a [^>]*href\s*=\s*\"?([^>\"]*)\"?[^>]*>(.*?)<\/a.*?>/i',  | 
                                                        
| 47 | -            function ($matches) { | 
                                                        |
| 47 | +            function($matches) { | 
                                                        |
| 48 | 48 | $this->links[] = html_entity_decode($matches[1]);  | 
                                                        
| 49 | 49 | // return the replaced link  | 
                                                        
| 50 | 50 | return '<strong><em>' . $matches[2] . '</em></strong> <small>[' . count($this->links) . ']</small>';  | 
                                                        
@@ -390,7 +390,7 @@  | 
                                                    ||
| 390 | 390 | ksort($menuCategories);  | 
                                                        
| 391 | 391 | $fullTemplateName = $mode . '.' . $template;  | 
                                                        
| 392 | 392 | |
| 393 | -        return $this->render("@ZikulaAdminModule/AdminInterface/${fullTemplateName}.html.twig", [ | 
                                                        |
| 393 | +        return $this->render("@ZikulaAdminModule/AdminInterface/${fulltemplatename}.html.twig", [ | 
                                                        |
| 394 | 394 |              'adminMenu' => ('categories' === $mode) ? $menuCategories : $menuModules, | 
                                                        
| 395 | 395 | 'mode' => $mode,  | 
                                                        
| 396 | 396 | 'caller' => $caller  |