Passed
Push — master ( 434341...b16aa1 )
by Andrii
03:18
created
src/base/BinaryPython.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,16 +48,16 @@
 block discarded – undo
48 48
     {
49 49
         $path = parent::detectCommand($path);
50 50
 
51
-        return is_executable($path) ? $path : '/usr/bin/env python ' . $path;
51
+        return is_executable($path) ? $path : '/usr/bin/env python '.$path;
52 52
     }
53 53
 
54 54
     public function install()
55 55
     {
56 56
         if ($this->installer) {
57
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->installer) . ' -O- | /usr/bin/env python', $exitcode);
57
+            passthru('/usr/bin/env wget '.escapeshellarg($this->installer).' -O- | /usr/bin/env python', $exitcode);
58 58
         } elseif ($this->download) {
59
-            $dest = Yii::getAlias('@root/' . $this->name, false);
60
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->download) . ' -O ' . $dest, $exitcode);
59
+            $dest = Yii::getAlias('@root/'.$this->name, false);
60
+            passthru('/usr/bin/env wget '.escapeshellarg($this->download).' -O '.$dest, $exitcode);
61 61
         } else {
62 62
             $args = ['pip', 'install'];
63 63
             if (!$_SERVER['VIRTUAL_ENV']) {
Please login to merge, or discard this patch.