Completed
Push — master ( 387eb9...845ccf )
by Craig
08:04
created
build.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             'composer-plugin' => 'Composer Plugins'
43 43
         ];
44 44
         $types = array_keys($typeOrder);
45
-        usort($packages, function ($a, $b) use ($types) {
45
+        usort($packages, function($a, $b) use ($types) {
46 46
             return array_search($a['type'], $types) - array_search($b['type'], $types);
47 47
         });
48 48
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
 -----------------sha1sums-----------------
320 320
 $zipSha1  $name.zip
321 321
 $tarSha1  $name.tar.gz
322
-CHECKSUM;
322
+checksum;
323 323
         file_put_contents("$name-checksum.txt", $checksum);
324 324
         $progress->advance();
325 325
 
Please login to merge, or discard this patch.
src/app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 /**
17 17
  * @var ClassLoader
18 18
  */
19
-$loader = require __DIR__.'/../vendor/autoload.php';
19
+$loader = require __DIR__ . '/../vendor/autoload.php';
20 20
 
21 21
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
22 22
 AnnotationReader::addGlobalIgnoredName('type');
Please login to merge, or discard this patch.
src/lib/requirementCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             if (isset($_SERVER['HTTP_HOST'])) {
30 30
                 echo "<html><body><pre>";
31 31
             }
32
-            echo 'The following errors were discovered when checking the' .PHP_EOL. 'Zikula Core system/environment requirements:' . PHP_EOL;
32
+            echo 'The following errors were discovered when checking the' . PHP_EOL . 'Zikula Core system/environment requirements:' . PHP_EOL;
33 33
             echo '******************************************************' . PHP_EOL . PHP_EOL;
34 34
             foreach ($versionChecker->requirementsErrors as $error) {
35 35
                 echo $error . PHP_EOL;
Please login to merge, or discard this patch.
FormExtensionBundle/DependencyInjection/ZikulaFormExtensionExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function load(array $configs, ContainerBuilder $container)
31 31
     {
32
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
32
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
33 33
         $loader->load('services.yml');
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
CoreInstallerBundle/Validator/Constraints/ValidPdoConnectionValidator.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@
 block discarded – undo
43 43
             $dbh = new \PDO("$object[database_driver]:host=$object[database_host];dbname=$object[database_name]", $object['database_user'], $object['database_password']);
44 44
             $dbh->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
45 45
             $sql = ($object['database_driver'] == 'mysql' || $object['database_driver'] == 'mysqli') ?
46
-                "SHOW TABLES FROM `$object[database_name]` LIKE '%'" :
47
-                "SHOW TABLES FROM $object[database_name] LIKE '%'";
46
+                "SHOW TABLES FROM `$object[database_name]` LIKE '%'" : "SHOW TABLES FROM $object[database_name] LIKE '%'";
48 47
             $tables = $dbh->query($sql);
49 48
             if (!is_object($tables)) {
50 49
                 $this->context->buildViolation($this->__('Error! Determination existing tables failed.') . ' SQL: ' . $sql)
Please login to merge, or discard this patch.
lib/Zikula/Bundle/CoreInstallerBundle/Controller/AjaxInstallController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function __construct(ContainerInterface $container)
44 44
     {
45 45
         parent::__construct($container);
46
-        $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() .'/config', 'custom_parameters.yml');
46
+        $this->yamlManager = new YamlDumper($this->container->get('kernel')->getRootDir() . '/config', 'custom_parameters.yml');
47 47
     }
48 48
 
49 49
     public function ajaxAction(Request $request)
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreInstallerBundle/Stage/Upgrade/LoginStage.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/Command/Install/StartCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
         }
118 118
 
119 119
         // write the parameters to personal_config.php and custom_parameters.yml
120
-        $yamlManager = new YamlDumper($this->getContainer()->get('kernel')->getRootDir() .'/config', 'custom_parameters.yml', 'parameters.yml');
120
+        $yamlManager = new YamlDumper($this->getContainer()->get('kernel')->getRootDir() . '/config', 'custom_parameters.yml', 'parameters.yml');
121 121
         $params = array_merge($yamlManager->getParameters(), $settings);
122 122
         $dbh = new \PDO("$params[database_driver]:host=$params[database_host];dbname=$params[database_name]", $params['database_user'], $params['database_password']);
123 123
         $params['database_server_version'] = $dbh->getAttribute(\PDO::ATTR_SERVER_VERSION);
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Translation/ZikulaTwigFileExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
                 $domain = $args->hasNode($domainNode) ? $args->getNode($domainNode)->getAttribute('value') : $domain;
125 125
 
126 126
                 $message = new Message($id, $domain);
127
-                $message->addSource(new FileSource((string) $this->file, $node->getTemplateLine()));
127
+                $message->addSource(new FileSource((string)$this->file, $node->getTemplateLine()));
128 128
                 $this->catalogue->add($message);
129 129
             }
130 130
         }
Please login to merge, or discard this patch.