@@ -85,14 +85,14 @@ |
||
| 85 | 85 | $header .= implode("\n", $this->headers->all()) . "\n"; |
| 86 | 86 | $header .= ($this->scriptPosition == 'head') ? $this->jsResolver->compile() : ''; |
| 87 | 87 | if (strripos($source, '</head>')) { |
| 88 | - $source = str_replace('</head>', $header."\n</head>", $source); |
|
| 88 | + $source = str_replace('</head>', $header . "\n</head>", $source); |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | // compile and replace foot |
| 92 | 92 | $footer = ($this->scriptPosition == 'foot') ? $this->jsResolver->compile() : ''; |
| 93 | 93 | $footer .= trim(implode("\n", $this->footers->all()) . "\n"); |
| 94 | 94 | if (false === empty($footer)) { |
| 95 | - $source = str_replace('</body>', $footer."\n</body>", $source); |
|
| 95 | + $source = str_replace('</body>', $footer . "\n</body>", $source); |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | return $source; |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function load(array $configs, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | - $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config'))); |
|
| 29 | + $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config'))); |
|
| 30 | 30 | |
| 31 | 31 | $loader->load('services.yml'); |
| 32 | 32 | } |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | if ($sessionId != '') { |
| 36 | 36 | $qb->where('tbl.sesid = :sid') |
| 37 | - ->setParameter('sid', $sessionId); |
|
| 37 | + ->setParameter('sid', $sessionId); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $query = $qb->getQuery(); |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | $i = 1; |
| 65 | 65 | foreach ($filters as $w_key => $w_value) { |
| 66 | 66 | $qb->andWhere($qb->expr()->eq('tbl.' . $w_key, '?' . $i)) |
| 67 | - ->setParameter($i, $w_value); |
|
| 67 | + ->setParameter($i, $w_value); |
|
| 68 | 68 | $i++; |
| 69 | 69 | } |
| 70 | 70 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | if ($sessionId != '') { |
| 106 | 106 | $qb->orWhere('tbl.sesid = :sid') |
| 107 | - ->setParameter('sid', $sessionId); |
|
| 107 | + ->setParameter('sid', $sessionId); |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | $query = $qb->getQuery(); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function load(array $configs, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | - $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config'))); |
|
| 29 | + $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config'))); |
|
| 30 | 30 | |
| 31 | 31 | $loader->load('services.yml'); |
| 32 | 32 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function load(array $configs, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | - $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config'))); |
|
| 29 | + $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config'))); |
|
| 30 | 30 | |
| 31 | 31 | $loader->load('services.yml'); |
| 32 | 32 | } |
@@ -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(); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function load(array $configs, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | - $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config'))); |
|
| 29 | + $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config'))); |
|
| 30 | 30 | |
| 31 | 31 | $loader->load('services.yml'); |
| 32 | 32 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function load(array $configs, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | - $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config'))); |
|
| 29 | + $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config'))); |
|
| 30 | 30 | |
| 31 | 31 | $loader->load('services.yml'); |
| 32 | 32 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function load(array $configs, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | - $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config'))); |
|
| 29 | + $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config'))); |
|
| 30 | 30 | |
| 31 | 31 | $loader->load('services.yml'); |
| 32 | 32 | } |