Fixes + code style fixes
This commit is contained in:
parent
9d3104fcac
commit
e9b5de8ea9
108 changed files with 589 additions and 2104 deletions
|
|
@ -135,7 +135,7 @@ class Build extends BuildBase
|
|||
*/
|
||||
protected function getZeroConfigPlugins(Builder $builder)
|
||||
{
|
||||
$pluginDir = PHPCI_DIR . 'PHPCI/Plugin/';
|
||||
$pluginDir = PHPCI_DIR . 'Plugin' . DIRECTORY_SEPARATOR;
|
||||
$dir = new \DirectoryIterator($pluginDir);
|
||||
|
||||
$config = [
|
||||
|
|
@ -257,8 +257,8 @@ class Build extends BuildBase
|
|||
}
|
||||
|
||||
if (empty($this->currentBuildPath)) {
|
||||
$buildDirectory = $this->getId() . '_' . substr(md5(microtime(true)), 0, 5);
|
||||
$this->currentBuildPath = PHPCI_BUILD_ROOT_DIR . $buildDirectory . DIRECTORY_SEPARATOR;
|
||||
$buildDirectory = $this->getId() . '_' . substr(md5(microtime(true)), 0, 5);
|
||||
$this->currentBuildPath = PHPCI_BUILDS_DIR . $buildDirectory . DIRECTORY_SEPARATOR;
|
||||
}
|
||||
|
||||
return $this->currentBuildPath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue