Fixed naming (phpci -> php-censor)

This commit is contained in:
Dmitry Khomutov 2016-07-21 23:02:11 +06:00
commit 31f92327c1
76 changed files with 357 additions and 348 deletions

View file

@ -160,12 +160,12 @@ class BuildService
}
$config = Config::getInstance();
$settings = $config->get('phpci.worker', []);
$settings = $config->get('php-censor.worker', []);
if (!empty($settings['host']) && !empty($settings['queue'])) {
try {
$jobData = [
'type' => 'phpci.build',
'type' => 'php-censor.build',
'build_id' => $build->getId(),
];
@ -179,7 +179,7 @@ class BuildService
json_encode($jobData),
PheanstalkInterface::DEFAULT_PRIORITY,
PheanstalkInterface::DEFAULT_DELAY,
$config->get('phpci.worker.job_timeout', 600)
$config->get('php-censor.worker.job_timeout', 600)
);
} catch (\Exception $ex) {
$this->queueError = true;