diff --git a/CodeSniffer/CLI.php b/CodeSniffer/CLI.php index 99d6ccb7a9..d7f8f10667 100644 --- a/CodeSniffer/CLI.php +++ b/CodeSniffer/CLI.php @@ -499,6 +499,8 @@ public function process($values=array()) { if (empty($values) === true) { $values = $this->getCommandLineValues(); + } else { + $this->values = $values = array_merge($this->getDefaults(), $values); } if ($values['generator'] !== '') {