Completed
Push — master ( 4bb285...2f71f6 )
by Andrii
03:37
created
src/components/Version.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     public function save()
86 86
     {
87
-        $this->getFile()->write($this->renderFile() . "\n");
87
+        $this->getFile()->write($this->renderFile()."\n");
88 88
     }
89 89
 
90 90
     public function setRelease($release = null, $branch = null)
Please login to merge, or discard this patch.
src/config/basis.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     'name'                  => 'HiDev',
18 18
     'basePath'              => dirname(__DIR__),
19 19
     'vendorPath'            => HIDEV_VENDOR_DIR,
20
-    'runtimePath'           => dirname(HIDEV_VENDOR_DIR) . '/.hidev/runtime',
20
+    'runtimePath'           => dirname(HIDEV_VENDOR_DIR).'/.hidev/runtime',
21 21
     'controllerNamespace'   => 'hidev\\controllers',
22 22
     'defaultRoute'          => 'default',
23 23
     'bootstrap'             => ['log'],
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         ],
87 87
         'own.version' => [
88 88
             'class' => \hidev\components\Version::class,
89
-            'file'  => dirname(dirname(__DIR__)) . '/version',
89
+            'file'  => dirname(dirname(__DIR__)).'/version',
90 90
         ],
91 91
         'codeception' => [
92 92
             'class' => \hidev\components\WTF::class,
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         'singletons' => [
106 106
             \hidev\base\Interpolator::class => [
107 107
             ],
108
-            \hidev\components\AbstractVcs::class => function () {
108
+            \hidev\components\AbstractVcs::class => function() {
109 109
                 $detectedVCS = 'git';
110 110
                 return Yii::$app->get($detectedVCS);
111 111
             },
Please login to merge, or discard this patch.
src/controllers/VersionController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $version->load();
30 30
         $version->setRelease($release);
31 31
         $dir = dirname($version->getAbspath());
32
-        echo $version->renderFile() . PHP_EOL;
32
+        echo $version->renderFile().PHP_EOL;
33 33
         echo "(run from $dir)\n";
34 34
     }
35 35
 
@@ -44,6 +44,6 @@  discard block
 block discarded – undo
44 44
 
45 45
     public function getComponent()
46 46
     {
47
-        return $this->take(($this->own ? 'own.' : '') . 'version');
47
+        return $this->take(($this->own ? 'own.' : '').'version');
48 48
     }
49 49
 }
Please login to merge, or discard this patch.