Compare commits
1 commit
add-commit
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64b0f60368 |
2 changed files with 1 additions and 7 deletions
|
|
@ -65,8 +65,7 @@ class Deployer implements \PHPCI\Plugin
|
||||||
'source' => 'PHPCI',
|
'source' => 'PHPCI',
|
||||||
'url' => $this->phpci->interpolate('%BUILD_URI%'),
|
'url' => $this->phpci->interpolate('%BUILD_URI%'),
|
||||||
'branch' => $this->phpci->interpolate('%BRANCH%'),
|
'branch' => $this->phpci->interpolate('%BRANCH%'),
|
||||||
'commit' => $this->phpci->interpolate('%COMMIT%'),
|
'update_only' => $this->updateOnly
|
||||||
'update_only' => $this->updateOnly,
|
|
||||||
));
|
));
|
||||||
|
|
||||||
return $response['success'];
|
return $response['success'];
|
||||||
|
|
|
||||||
5
PHPCI/Plugin/PhpCpd.php
Normal file → Executable file
5
PHPCI/Plugin/PhpCpd.php
Normal file → Executable file
|
|
@ -50,17 +50,12 @@ class PhpCpd implements \PHPCI\Plugin
|
||||||
$this->build = $build;
|
$this->build = $build;
|
||||||
|
|
||||||
$this->path = $phpci->buildPath;
|
$this->path = $phpci->buildPath;
|
||||||
$this->standard = 'PSR1';
|
|
||||||
$this->ignore = $phpci->ignore;
|
$this->ignore = $phpci->ignore;
|
||||||
|
|
||||||
if (!empty($options['path'])) {
|
if (!empty($options['path'])) {
|
||||||
$this->path = $phpci->buildPath . $options['path'];
|
$this->path = $phpci->buildPath . $options['path'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($options['standard'])) {
|
|
||||||
$this->standard = $options['standard'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($options['ignore'])) {
|
if (!empty($options['ignore'])) {
|
||||||
$this->ignore = $options['ignore'];
|
$this->ignore = $options['ignore'];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue