Completed
Push — master ( 666f34...c3045d )
by Andrii
04:07
created
src/base/BinaryPhp.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,16 +46,16 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $path = parent::detectCommand($path);
48 48
 
49
-        return is_executable($path) ? $path : '/usr/bin/env php ' . $path;
49
+        return is_executable($path) ? $path : '/usr/bin/env php '.$path;
50 50
     }
51 51
 
52 52
     public function install()
53 53
     {
54 54
         if ($this->installer) {
55
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->installer) . ' -O- | /usr/bin/env php', $exitcode);
55
+            passthru('/usr/bin/env wget '.escapeshellarg($this->installer).' -O- | /usr/bin/env php', $exitcode);
56 56
         } elseif ($this->download) {
57
-            $dest = Yii::getAlias('@root/' . $this->name . '.phar', false);
58
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->download) . ' -O ' . $dest, $exitcode);
57
+            $dest = Yii::getAlias('@root/'.$this->name.'.phar', false);
58
+            passthru('/usr/bin/env wget '.escapeshellarg($this->download).' -O '.$dest, $exitcode);
59 59
         } else {
60 60
             return parent::install();
61 61
         }
@@ -65,6 +65,6 @@  discard block
 block discarded – undo
65 65
 
66 66
     public function getVcsignore()
67 67
     {
68
-        return $this->name . '.phar';
68
+        return $this->name.'.phar';
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/base/Application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     public static function readExtraVendor($dir)
72 72
     {
73
-        return static::readExtraConfig($dir . '/hiqdev/composer-config-plugin-output/hidev.php');
73
+        return static::readExtraConfig($dir.'/hiqdev/composer-config-plugin-output/hidev.php');
74 74
     }
75 75
 
76 76
     public static function readExtraConfig($path)
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         foreach (['params', 'aliases', 'modules', 'components'] as $key) {
108 108
             if (isset($config[$key])) {
109
-                $this->{'setExtra' . ucfirst($key)}($config[$key]);
109
+                $this->{'setExtra'.ucfirst($key)}($config[$key]);
110 110
             }
111 111
         }
112 112
 
Please login to merge, or discard this patch.
src/helpers/FileHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         } else {
43 43
             file_put_contents($path, $content);
44 44
         }
45
-        Yii::warning('Written file: ' . $path, 'file');
45
+        Yii::warning('Written file: '.$path, 'file');
46 46
 
47 47
         return true;
48 48
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $path = rtrim(trim($path), '/');
60 60
         if (!file_exists($path)) {
61 61
             mkdir($path, 0777, true);
62
-            Yii::warning('Created dir:  ' . $path . '/', 'file');
62
+            Yii::warning('Created dir:  '.$path.'/', 'file');
63 63
 
64 64
             return true;
65 65
         }
Please login to merge, or discard this patch.