Completed
Push — master ( 770069...1626fc )
by Andrii
05:34
created
src/base/BinaryPython.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,16 +49,16 @@
 block discarded – undo
49 49
     {
50 50
         $path = parent::detectCommand($path);
51 51
 
52
-        return is_executable($path) ? $path : '/usr/bin/env python ' . $path;
52
+        return is_executable($path) ? $path : '/usr/bin/env python '.$path;
53 53
     }
54 54
 
55 55
     public function install()
56 56
     {
57 57
         if ($this->installer) {
58
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->installer) . ' -O- | /usr/bin/env python', $exitcode);
58
+            passthru('/usr/bin/env wget '.escapeshellarg($this->installer).' -O- | /usr/bin/env python', $exitcode);
59 59
         } elseif ($this->download) {
60
-            $dest = Yii::getAlias('@root/' . $this->name, false);
61
-            passthru('/usr/bin/env wget ' . escapeshellarg($this->download) . ' -O ' . $dest, $exitcode);
60
+            $dest = Yii::getAlias('@root/'.$this->name, false);
61
+            passthru('/usr/bin/env wget '.escapeshellarg($this->download).' -O '.$dest, $exitcode);
62 62
         } else {
63 63
             $args = ['install'];
64 64
             if (!$_SERVER['VIRTUAL_ENV']) {
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
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
                 unlink($tmp);
45 45
             }
46 46
         }
47
-        Yii::warning('Written file: ' . $path, 'file');
47
+        Yii::warning('Written file: '.$path, 'file');
48 48
 
49 49
         return true;
50 50
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $path = rtrim(trim($path), '/');
62 62
         if (!file_exists($path)) {
63 63
             mkdir($path, 0777, true);
64
-            Yii::warning('Created dir:  ' . $path . '/', 'file');
64
+            Yii::warning('Created dir:  '.$path.'/', 'file');
65 65
 
66 66
             return true;
67 67
         }
Please login to merge, or discard this patch.
src/controllers/OwnVersionController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     public function actionMake($version = null)
27 27
     {
28
-        $path = dirname(dirname(__DIR__)) . '/bin/hidev';
28
+        $path = dirname(dirname(__DIR__)).'/bin/hidev';
29 29
         echo "HiDev $this->version $this->date $this->time $this->hash\n";
30 30
         echo "run from $path\n";
31 31
     }
Please login to merge, or discard this patch.
src/components/Interpolator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
                 $this->interpolate($item);
15 15
             }
16 16
         } elseif (is_string($data)) {
17
-            $data = preg_replace_callback('/\\$(\\w+)\\[\'(.+?)\'\\]/', function ($matches) {
17
+            $data = preg_replace_callback('/\\$(\\w+)\\[\'(.+?)\'\\]/', function($matches) {
18 18
                 return $this->get($matches[1], $matches[2]);
19 19
             }, $data);
20 20
         }
Please login to merge, or discard this patch.
src/base/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 
120 120
         foreach (['params', 'aliases', 'modules', 'components'] as $key) {
121 121
             if (isset($config[$key])) {
122
-                $this->{'setExtra' . ucfirst($key)}($config[$key]);
122
+                $this->{'setExtra'.ucfirst($key)}($config[$key]);
123 123
             }
124 124
         }
125 125
 
Please login to merge, or discard this patch.