Code style fixes

This commit is contained in:
Dmitry Khomutov 2017-03-04 22:39:56 +07:00
commit a2fbd9b775
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
142 changed files with 132 additions and 1270 deletions

View file

@ -625,7 +625,7 @@ class Build extends Model
/**
* Return a template to use to generate a link to a specific file.
*
*
* @return null
*/
public function getFileLinkTemplate()
@ -830,7 +830,12 @@ class Build extends Model
if (empty($this->currentBuildPath)) {
$buildDirectory = $this->getId() . '_' . substr(md5(microtime(true)), 0, 5);
$this->currentBuildPath = RUNTIME_DIR . 'builds' . DIRECTORY_SEPARATOR . $buildDirectory . DIRECTORY_SEPARATOR;
$this->currentBuildPath =
RUNTIME_DIR .
'builds' .
DIRECTORY_SEPARATOR .
$buildDirectory .
DIRECTORY_SEPARATOR;
}
return $this->currentBuildPath;
@ -880,10 +885,10 @@ class Build extends Model
/**
* Create a working copy by cloning, copying, or similar.
*
*
* @param Builder $builder
* @param string $buildPath
*
*
* @return boolean
*/
public function createWorkingCopy(Builder $builder, $buildPath)