Skip to content

Commit e81e99e

Browse files
committed
2 parents a35b06e + 3442e76 commit e81e99e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CodeSniffer/CLI.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ public function process($values=array())
499499
{
500500
if (empty($values) === true) {
501501
$values = $this->getCommandLineValues();
502+
} else {
503+
$this->values = $values = array_merge($this->getDefaults(), $values);
502504
}
503505

504506
if ($values['generator'] !== '') {

0 commit comments

Comments
 (0)