@@ -84,7 +84,7 @@ |
||
| 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) |
@@ -17,7 +17,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | }, |
@@ -29,7 +29,7 @@ discard block |
||
| 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 |
||
| 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 | } |