Completed
Push — master ( 1d2efa...e76360 )
by Dmitry
02:30
created
src/base/File.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     protected static $_extension2type = [
125 125
         'json'      => 'json',
126
-        'yml'       => 'yaml',  /// first one is preferred
126
+        'yml'       => 'yaml', /// first one is preferred
127 127
         'yaml'      => 'yaml',
128 128
         'xml'       => 'xml',
129 129
         'xml.dist'  => 'xml',
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
     public function setBasename($basename)
178 178
     {
179
-        $this->setPath($this->_dirname . '/' . $basename);
179
+        $this->setPath($this->_dirname.'/'.$basename);
180 180
     }
181 181
 
182 182
     public function getBasename()
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
     public function setDirname($dirname)
188 188
     {
189
-        $this->setPath($dirname . '/' . $this->_basename);
189
+        $this->setPath($dirname.'/'.$this->_basename);
190 190
     }
191 191
 
192 192
     public function getDirname()
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 
197 197
     public function setFilename($filename)
198 198
     {
199
-        $this->setPath($this->_dirname . '/' . $filename . '.' . $this->_extension);
199
+        $this->setPath($this->_dirname.'/'.$filename.'.'.$this->_extension);
200 200
     }
201 201
 
202 202
     public function getFilename()
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
     public function setExtension($extension)
208 208
     {
209
-        $this->setPath($this->_dirname . '/' . $this->_filename . '.' . $extension);
209
+        $this->setPath($this->_dirname.'/'.$this->_filename.'.'.$extension);
210 210
     }
211 211
 
212 212
     public function getExtension()
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     {
258 258
         if (!is_object($this->_handler)) {
259 259
             $this->_handler = Yii::createObject([
260
-                'class'    => 'hidev\handlers\\' . $this->getCtype() . 'Handler',
260
+                'class'    => 'hidev\handlers\\'.$this->getCtype().'Handler',
261 261
                 'template' => $this->template,
262 262
                 'goal'     => $this->goal,
263 263
             ]);
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
 
361 361
     public function chown($value)
362 362
     {
363
-        $ownergroup = $this->getOwner() . ':' . $this->getGroup();
363
+        $ownergroup = $this->getOwner().':'.$this->getGroup();
364 364
         if (in_array((string) $value, [$ownergroup, $this->getOwner(), $this->getUid()], true)) {
365 365
             return;
366 366
         }
Please login to merge, or discard this patch.
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.