Completed
Push — develop ( d868ff...45e824 )
by Tom
04:19
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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $errorMessage = 'Wrong hostname configured. <info>Hostname must contain a dot</info>';
33 33
 
34 34
         $host    = parse_url($baseUrl, PHP_URL_HOST);
35
-        $isValid = (bool) strstr($host, '.');
35
+        $isValid = (bool)strstr($host, '.');
36 36
         $result->setStatus($isValid);
37 37
         if ($isValid) {
38 38
             $result->setMessage(
Please login to merge, or discard this patch.
src/N98/Util/OperatingSystem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public static function isLinux()
29 29
     {
30
-        return (bool) stristr(PHP_OS, 'linux');
30
+        return (bool)stristr(PHP_OS, 'linux');
31 31
     }
32 32
 
33 33
     /**
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public static function isNetware()
51 51
     {
52
-        return (bool) stristr(PHP_OS, 'netware');
52
+        return (bool)stristr(PHP_OS, 'netware');
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
tests/N98/Magento/Application/ConfigTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,10 +93,10 @@
 block discarded – undo
93 93
             $argv            = array('/path/to/command', 'list-help');
94 94
             $_SERVER['argv'] = $argv;
95 95
             $input           = new ArgvInput($argv, $definition);
96
-            $this->assertSame('list-help', (string) $input);
96
+            $this->assertSame('list-help', (string)$input);
97 97
             $actual = $config->checkConfigCommandAlias($input);
98 98
             $this->assertSame('list-help', $actual->getFirstArgument());
99
-            $this->assertSame('list-help --help', (string) $actual);
99
+            $this->assertSame('list-help --help', (string)$actual);
100 100
         }
101 101
         $_SERVER['argv'] = $saved;
102 102
 
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.