Completed
Push — develop ( 5f3636...47083a )
by Tom
04:42
created
src/N98/Magento/Command/System/Check/Settings/BaseUrlCheckAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $errorMessage = 'Wrong hostname configured. <info>Hostname must contain a dot</info>';
34 34
 
35 35
         $host    = parse_url($baseUrl, PHP_URL_HOST);
36
-        $isValid = (bool) strstr($host, '.');
36
+        $isValid = (bool)strstr($host, '.');
37 37
         $result->setStatus($isValid);
38 38
         if ($isValid) {
39 39
             $result->setMessage(
Please login to merge, or discard this patch.
N98/Magento/Command/System/Check/Security/LocalConfigAccessableCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $result = $results->createResult();
22 22
         $filePath = 'app/etc/local.xml';
23
-        $defaultUnsecureBaseURL = (string) \Mage::getConfig()->getNode(
23
+        $defaultUnsecureBaseURL = (string)\Mage::getConfig()->getNode(
24 24
             'default/' . \Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_URL
25 25
         );
26 26
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Cron/AbstractCronCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $expr = null;
41 41
 
42 42
         if (isset($job->schedule->config_path)) {
43
-            $expr = Mage::getStoreConfig((string) $job->schedule->config_path);
43
+            $expr = Mage::getStoreConfig((string)$job->schedule->config_path);
44 44
         } elseif (isset($job->schedule->cron_expr)) {
45 45
             $expr = $job->schedule->cron_expr;
46 46
         }
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Setup/AbstractSetupCommand.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
         $resources      = \Mage::getConfig()->getNode('global/resources')->children();
27 27
 
28 28
         foreach ($resources as $resName => $resource) {
29
-            $modName = (string) $resource->setup->module;
29
+            $modName = (string)$resource->setup->module;
30 30
 
31 31
             if ($modName == $moduleName) {
32 32
                 $moduleSetups[$resName] = $resource;
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/InfoCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $settings = array();
48 48
         foreach ($this->dbSettings as $key => $value) {
49
-            $settings[$key] = (string) $value;
49
+            $settings[$key] = (string)$value;
50 50
         }
51 51
 
52 52
         $isSocketConnect = $this->dbSettings->isSocketConnect();
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             if (!isset($settings[$settingArgument])) {
100 100
                 throw new InvalidArgumentException('Unknown setting: ' . $settingArgument);
101 101
             }
102
-            $output->writeln((string) $settings[$settingArgument]);
102
+            $output->writeln((string)$settings[$settingArgument]);
103 103
         } else {
104 104
             $this->getHelper('table')
105 105
                 ->setHeaders(array('Name', 'Value'))
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/AbstractShowCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
      */
187 187
     protected function formatVariables(array $vars)
188 188
     {
189
-        $rounding = (int) $this->_input->getOption('rounding');
189
+        $rounding = (int)$this->_input->getOption('rounding');
190 190
         if ($rounding > -1) {
191 191
             foreach ($vars as $k => &$v) {
192 192
                 if (true === $this->allowRounding($k)) {
Please login to merge, or discard this patch.
build/phar/tasks/PatchedPharPackageTask.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
         if (!is_null($this->baseDirectory)) {
316 316
             if (!$this->baseDirectory->exists()) {
317 317
                 throw new BuildException(
318
-                    "basedir '" . (string) $this->baseDirectory . "' does not exist!", $this->getLocation()
318
+                    "basedir '" . (string)$this->baseDirectory . "' does not exist!", $this->getLocation()
319 319
                 );
320 320
             }
321 321
         }
@@ -332,11 +332,11 @@  discard block
 block discarded – undo
332 332
             }
333 333
 
334 334
             if (!$this->key->exists()) {
335
-                throw new BuildException("key '" . (string) $this->key . "' does not exist!", $this->getLocation());
335
+                throw new BuildException("key '" . (string)$this->key . "' does not exist!", $this->getLocation());
336 336
             }
337 337
 
338 338
             if (!$this->key->canRead()) {
339
-                throw new BuildException("key '" . (string) $this->key . "' cannot be read!", $this->getLocation());
339
+                throw new BuildException("key '" . (string)$this->key . "' cannot be read!", $this->getLocation());
340 340
             }
341 341
         }
342 342
     }
Please login to merge, or discard this patch.
build/phar/phar-timestamp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     throw new RuntimeException(sprintf('Is not a file or not readable: %s', var_export($file, true)));
31 31
 }
32 32
 
33
-$timestamp = (int) `git log --format=format:%ct HEAD -1`;
33
+$timestamp = (int)`git log --format=format:%ct HEAD -1`;
34 34
 $threshold = 1343826993;
35 35
 if ($timestamp < $threshold) {
36 36
     $message = sprintf(
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Cron/RunCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         $runConfig = $jobConfig->run;
65 65
 
66 66
         if ($runConfig->model) {
67
-            if (!preg_match(self::REGEX_RUN_MODEL, (string) $runConfig->model, $run)) {
67
+            if (!preg_match(self::REGEX_RUN_MODEL, (string)$runConfig->model, $run)) {
68 68
                 throw new RuntimeException('Invalid model/method definition, expecting "model/class::method".');
69 69
             }
70 70
             $model = \Mage::getModel($run[1]);
Please login to merge, or discard this patch.