Completed
Push — master ( bbc096...38d354 )
by Craig
06:03 queued 21s
created
lib/Zikula/Bundle/CoreInstallerBundle/Stage/Install/CreateAdminStage.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
     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()
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Stage/Install/CompleteStage.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
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())
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Stage/Install/DbCredsStage.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
     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()
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Stage/LocaleStage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Command/UpgradeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         $io->newLine();
119 119
 
120 120
         // write the parameters to custom_parameters.yml
121
-        $yamlManager = new YamlDumper($this->getContainer()->get('kernel')->getRootDir() .'/config', 'custom_parameters.yml');
121
+        $yamlManager = new YamlDumper($this->getContainer()->get('kernel')->getRootDir() . '/config', 'custom_parameters.yml');
122 122
         $params = array_merge($yamlManager->getParameters(), $settings);
123 123
         $yamlManager->setParameters($params);
124 124
 
Please login to merge, or discard this patch.
lib/Zikula/Bundle/CoreInstallerBundle/Controller/AjaxUpgradeController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     public function __construct(ContainerInterface $container)
44 44
     {
45 45
         parent::__construct($container);
46
-        $originalParameters = Yaml::parse(file_get_contents($this->container->get('kernel')->getRootDir() .'/config/parameters.yml'));
47
-        $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() .'/config', 'custom_parameters.yml');
46
+        $originalParameters = Yaml::parse(file_get_contents($this->container->get('kernel')->getRootDir() . '/config/parameters.yml'));
47
+        $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() . '/config', 'custom_parameters.yml');
48 48
         // load and set new default values from the original parameters.yml file into the custom_parameters.yml file.
49 49
         $this->yamlManager->setParameters(array_merge($originalParameters['parameters'], $this->yamlManager->getParameters()));
50 50
         $this->currentVersion = $this->container->getParameter(ZikulaKernel::CORE_INSTALLED_VERSION_PARAM);
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         $stage = $request->request->get('stage');
56 56
         $this->container->setParameter('upgrading', true);
57 57
         $status = $this->executeStage($stage);
58
-        $response = ['status' => (bool) $status];
58
+        $response = ['status' => (bool)$status];
59 59
         if (is_array($status)) {
60 60
             $response['results'] = $status;
61 61
         }
Please login to merge, or discard this patch.
src/lib/Zikula/Common/ClassProperties.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         }
55 55
 
56 56
         foreach ($properties as $k => $v) {
57
-            $lookup = 'set'.strtolower($k);
57
+            $lookup = 'set' . strtolower($k);
58 58
             if (isset($methodMap[$lookup])) {
59 59
                 $reflectionMethod = new \ReflectionMethod($className, $methodMap[$lookup]);
60 60
                 $reflectionMethod->invoke($object, $v);
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Controller/AbstractController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/system/RoutesModule/Form/Base/AbstractAppSettingsType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
                 'attr' => [
107 107
                     'maxlength' => 255,
108 108
                     'title' => $this->__('Enter the route entries per page.') . ' ' . $this->__('Only digits are allowed.')
109
-                ],'scale' => 0
109
+                ], 'scale' => 0
110 110
             ])
111 111
         ;
112 112
     }
Please login to merge, or discard this patch.