Compare commits

..

1 commit

Author SHA1 Message Date
Arnout Boks
64b0f60368 Removed unused 'standard' option for PhpCpd plugin (#1249) 2016-08-17 12:35:21 +01:00
2 changed files with 1 additions and 7 deletions

View file

@ -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
View 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'];
} }