Passed
Push — 0.1.x ( d58fb5...718fff )
by f
01:56
created
src/Formats/Archive7z.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
         $binary = static::makeBinary7z();
15 15
         $process = new Process(escapeshellarg(str_replace('\\', '/', $binary)));
16 16
         $result = $process->mustRun()->getOutput();
17
-        if (!preg_match('~7-Zip (\d+\.\d+)~i', $result, $version))
18
-            return false;
17
+        if (!preg_match('~7-Zip (\d+\.\d+)~i', $result, $version)) {
18
+                    return false;
19
+        }
19 20
 
20 21
         return $version[1];
21 22
     }
Please login to merge, or discard this patch.