Passed
Push — master ( 5e712b...61b36a )
by Tom
02:52
created
src/Cli/Vcs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             return null;
29 29
         }
30 30
 
31
-        $path = substr($out, 0,-1);
31
+        $path = substr($out, 0, -1);
32 32
 
33 33
         if (!is_dir($path)) {
34 34
             return null;
Please login to merge, or discard this patch.
src/PharBuild/Timestamps.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         );
128 128
 
129 129
         if (!isset($algos[$signatureAlgo])) {
130
-            throw new \UnexpectedValueException('Invalid hash algorithm given: '.$signatureAlgo.' expected one of Phar::MD5, Phar::SHA1, Phar::SHA256 or Phar::SHA512'); // @codeCoverageIgnore
130
+            throw new \UnexpectedValueException('Invalid hash algorithm given: ' . $signatureAlgo . ' expected one of Phar::MD5, Phar::SHA1, Phar::SHA256 or Phar::SHA512'); // @codeCoverageIgnore
131 131
         }
132 132
         $algo = $algos[$signatureAlgo];
133 133
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
         $this->contents = substr($this->contents, 0, $pos) . $signature;
143 143
 
144
-        return (bool) file_put_contents($path, $this->contents);
144
+        return (bool)file_put_contents($path, $this->contents);
145 145
     }
146 146
 
147 147
     private function readUint($pos, $bytes)
Please login to merge, or discard this patch.
src/Lib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
         foreach ($arrays as $key => $value) {
96 96
             if (!is_array($value)) {
97
-                $arrays[$key] = (array) $value;
97
+                $arrays[$key] = (array)$value;
98 98
             }
99 99
         }
100 100
 
Please login to merge, or discard this patch.