Compare commits
2 commits
master
...
add-commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3169aa9e1a | ||
|
|
cf5402d894 |
2 changed files with 7 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ 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%'),
|
||||||
'update_only' => $this->updateOnly
|
'commit' => $this->phpci->interpolate('%COMMIT%'),
|
||||||
|
'update_only' => $this->updateOnly,
|
||||||
));
|
));
|
||||||
|
|
||||||
return $response['success'];
|
return $response['success'];
|
||||||
|
|
|
||||||
5
PHPCI/Plugin/PhpCpd.php
Executable file → Normal file
5
PHPCI/Plugin/PhpCpd.php
Executable file → Normal file
|
|
@ -50,12 +50,17 @@ 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