Removed unused 'standard' option for PhpCpd plugin (#1249)
This commit is contained in:
parent
42ca1c6527
commit
64b0f60368
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…
Reference in a new issue