@@ -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()) |
@@ -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() |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | public function __construct(ContainerInterface $container) |
| 46 | 46 | { |
| 47 | 47 | $this->container = $container; |
| 48 | - $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() .'/config', 'custom_parameters.yml', 'parameters.yml'); |
|
| 48 | + $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() . '/config', 'custom_parameters.yml', 'parameters.yml'); |
|
| 49 | 49 | $this->installedLocales = $container->get('zikula_settings_module.locale_api')->getSupportedLocales(); |
| 50 | 50 | $this->matchedLocale = $container->get('zikula_settings_module.locale_api')->getBrowserLocale(); |
| 51 | 51 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * @param $moduleName |
|
| 77 | + * @param string $moduleName |
|
| 78 | 78 | * @return bool |
| 79 | 79 | */ |
| 80 | 80 | protected function installModule($moduleName) |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | /** |
| 119 | 119 | * Set an admin category for a module or set to default |
| 120 | 120 | * @param $moduleName |
| 121 | - * @param $translatedCategoryName |
|
| 121 | + * @param string $translatedCategoryName |
|
| 122 | 122 | */ |
| 123 | 123 | protected function setModuleCategory($moduleName, $translatedCategoryName) |
| 124 | 124 | { |