Fixed naming (phpci -> php-censor)
This commit is contained in:
parent
32f5c01728
commit
62bf63a06e
20 changed files with 56 additions and 59 deletions
|
|
@ -104,17 +104,14 @@ class Build extends BuildBase
|
|||
$build_config = $this->getProject()->getBuildConfig();
|
||||
}
|
||||
|
||||
// Try .php-censor.yml
|
||||
if (is_file($buildPath . '/.php-censor.yml')) {
|
||||
$build_config = file_get_contents($buildPath . '/.php-censor.yml');
|
||||
}
|
||||
|
||||
// Try .phpci.yml
|
||||
if (is_file($buildPath . '/.phpci.yml')) {
|
||||
$build_config = file_get_contents($buildPath . '/.phpci.yml');
|
||||
}
|
||||
|
||||
// Try phpci.yml first:
|
||||
if (empty($build_config) && is_file($buildPath . '/phpci.yml')) {
|
||||
$build_config = file_get_contents($buildPath . '/phpci.yml');
|
||||
}
|
||||
|
|
@ -134,7 +131,7 @@ class Build extends BuildBase
|
|||
}
|
||||
|
||||
/**
|
||||
* Get an array of plugins to run if there's no phpci.yml file.
|
||||
* Get an array of plugins to run if there's no .php-censor.yml file.
|
||||
* @param Builder $builder
|
||||
* @return array
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue