Completed
Push — master ( 900d18...1ab4f8 )
by Andrii
03:26
created
src/base/BinaryPhp.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,16 +66,16 @@
 block discarded – undo
66 66
     {
67 67
         $path = parent::detectCommand($path);
68 68
 
69
-        return is_executable($path) ? $path : '/usr/bin/env php ' . $path;
69
+        return is_executable($path) ? $path : '/usr/bin/env php '.$path;
70 70
     }
71 71
 
72 72
     public function install()
73 73
     {
74 74
         if ($this->installer) {
75
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->installer) . ' -O- | /usr/bin/env php', $exitcode);
75
+            passthru('/usr/bin/env wget '.escapeshellarg($this->installer).' -O- | /usr/bin/env php', $exitcode);
76 76
         } elseif ($this->download) {
77
-            $dest = Yii::getAlias('@prjdir/' . $this->name . '.phar', false);
78
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->download) . ' -O ' . $dest, $exitcode);
77
+            $dest = Yii::getAlias('@prjdir/'.$this->name.'.phar', false);
78
+            passthru('/usr/bin/env wget '.escapeshellarg($this->download).' -O '.$dest, $exitcode);
79 79
         } else {
80 80
             return parent::install();
81 81
         }
Please login to merge, or discard this patch.
src/_bootstrap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@  discard block
 block discarded – undo
10 10
  */
11 11
 
12 12
 if (!defined('HIDEV_VENDOR_DIR')) {
13
-    foreach ([dirname(__DIR__) . '/vendor', dirname(dirname(dirname(__DIR__)))] as $dir) {
14
-        if (file_exists($dir . '/autoload.php')) {
13
+    foreach ([dirname(__DIR__).'/vendor', dirname(dirname(dirname(__DIR__)))] as $dir) {
14
+        if (file_exists($dir.'/autoload.php')) {
15 15
             define('HIDEV_VENDOR_DIR', $dir);
16 16
             break;
17 17
         }
@@ -22,6 +22,6 @@  discard block
 block discarded – undo
22 22
         exit(1);
23 23
     }
24 24
 
25
-    require HIDEV_VENDOR_DIR . '/autoload.php';
26
-    require HIDEV_VENDOR_DIR . '/yiisoft/yii2/Yii.php';
25
+    require HIDEV_VENDOR_DIR.'/autoload.php';
26
+    require HIDEV_VENDOR_DIR.'/yiisoft/yii2/Yii.php';
27 27
 }
Please login to merge, or discard this patch.