@@ -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 | } |
@@ -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 | public function __construct(ContainerInterface $container) |
27 | 27 | { |
28 | 28 | $this->container = $container; |
29 | - $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() .'/config', 'custom_parameters.yml'); |
|
29 | + $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() . '/config', 'custom_parameters.yml'); |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | public function getName() |
@@ -85,7 +85,7 @@ |
||
85 | 85 | <p>Zikula has been successfully installed at <a href="$url">$url</a>. If you have further questions, |
86 | 86 | visit <a href="http://zikula.org">zikula.org</a></p> |
87 | 87 | </body> |
88 | -EOF; |
|
88 | +eof; |
|
89 | 89 | $message = \Swift_Message::newInstance() |
90 | 90 | ->setSubject($this->__('Zikula installation completed!')) |
91 | 91 | ->setFrom($adminUser->getEmail()) |