mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-02 06:02:52 +02:00
[Galactica] Improve PSR-12
This commit is contained in:
parent
732b5d9cb6
commit
d3023a6767
|
@ -41,7 +41,7 @@ class ReleaseTask extends AbstractTask implements ExecuteOnRollbackInterface
|
||||||
|
|
||||||
$hostPath = rtrim($this->runtime->getEnvOption('host_path'), '/');
|
$hostPath = rtrim($this->runtime->getEnvOption('host_path'), '/');
|
||||||
$releaseId = $this->runtime->getReleaseId();
|
$releaseId = $this->runtime->getReleaseId();
|
||||||
|
|
||||||
$symlink = $this->runtime->getEnvOption('symlink', 'current');
|
$symlink = $this->runtime->getEnvOption('symlink', 'current');
|
||||||
|
|
||||||
$cmdLinkRelease = sprintf('cd %s && ln -snf releases/%s %s', $hostPath, $releaseId, $symlink);
|
$cmdLinkRelease = sprintf('cd %s && ln -snf releases/%s %s', $hostPath, $releaseId, $symlink);
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Magallanes package.
|
* This file is part of the Magallanes package.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue