Passed
Branch v2.0.0 (9e1925)
by Deric
02:02
created
lib/Filesystem.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -172,12 +172,12 @@  discard block
 block discarded – undo
172 172
             return false;
173 173
         }
174 174
 
175
-		$pattern = is_array(($pattern)) ? '{' . implode(',', $pattern) . '}' : $pattern;
175
+		$pattern = is_array(($pattern)) ? '{'.implode(',', $pattern).'}' : $pattern;
176 176
         if ($pattern === null)
177 177
         {
178
-            return array_diff(glob($directory . '/*'), ['.', '..']);
178
+            return array_diff(glob($directory.'/*'), ['.', '..']);
179 179
         }
180
-        return glob($directory . '/{,.}*' . $pattern . '*', GLOB_BRACE);
180
+        return glob($directory.'/{,.}*'.$pattern.'*', GLOB_BRACE);
181 181
     }
182 182
 
183 183
     /**
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             {
270 270
                 if ($file != '.' && $file != '..')
271 271
                 {
272
-                    $files[] = $directory . '/' . $file;
272
+                    $files[] = $directory.'/'.$file;
273 273
                 }
274 274
             }
275 275
         }
Please login to merge, or discard this patch.
lib/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         {
69 69
             if (preg_match('/^-.*$/', $key, $matches))
70 70
             {
71
-                $options[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT) . $value;
71
+                $options[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT).$value;
72 72
             }
73 73
             if (preg_match('/^-.*$/', $value, $matches))
74 74
             {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         {
93 93
             if (preg_match('/^-.*$/', $key, $matches))
94 94
             {
95
-                $arguments[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT) . $value;
95
+                $arguments[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT).$value;
96 96
             }
97 97
             else
98 98
             {
Please login to merge, or discard this patch.
lib/Archive.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
      * @param  bool  $strict     strict error checking
152 152
 	 * @return object
153 153
 	 */
154
-	final public function tar(array $options = [],  array $arguments = [], $strict = true)
154
+	final public function tar(array $options = [], array $arguments = [], $strict = true)
155 155
 	{
156 156
 		$this->command = (new Builder())
157 157
 			->setPrefix('tar')
Please login to merge, or discard this patch.
lib/Subprocess.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $GLOBALS['stdoutfile'] = $stdoutfile;
107 107
         $GLOBALS['stderrfile'] = $stderrfile;
108 108
 
109
-        $process->run(function ($type, $buffer) {
109
+        $process->run(function($type, $buffer) {
110 110
             if (Process::ERR === $type)
111 111
             {
112 112
                 if ($GLOBALS['stderrfile'] !== null)
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     final protected function stream_to_stdout(Process $process)
137 137
     {
138
-        $process->run(function ($type, $buffer) {
138
+        $process->run(function($type, $buffer) {
139 139
             if (Process::ERR === $type)
140 140
             {
141 141
                 fwrite(STDERR, $buffer);
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         $GLOBALS['stdoutfile'] = $stdoutfile;
168 168
         $GLOBALS['stderrfile'] = $stderrfile;
169 169
 
170
-        $process->run(function ($type, $buffer) {
170
+        $process->run(function($type, $buffer) {
171 171
             if (Process::ERR === $type)
172 172
             {
173 173
                 if ($GLOBALS['stderrfile'] !== null)
Please login to merge, or discard this patch.