Skip to content

Commit d87ed91

Browse files
committed
Changelog for PR squizlabs#1032
1 parent dfc8bad commit d87ed91

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CodeSniffer/CLI.php

+1
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ public function processLongArgument($arg, $pos)
723723
if (isset($this->values['extensions']) === false) {
724724
$this->values['extensions'] = array();
725725
}
726+
726727
$this->values['extensions'] = array_merge($this->values['extensions'], explode(',', substr($arg, 11)));
727728
} else if (substr($arg, 0, 9) === 'severity=') {
728729
$this->values['errorSeverity'] = (int) substr($arg, 9);

package.xml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
2929
- Squiz LowercasePHPFunctionsSniff now uses the internal function list so it can ignore included global functions
3030
-- This can happen if functions are defined by calling vendor/autoload.php
3131
-- Thanks to Michael Butler for the patch
32+
- Settings extensions in a ruleset no longer causes PHP notices during unit testing
33+
-- Thanks to Klaus Purer for the patch
3234
- Fixed bug #945 : Incorrect indent behavior using deep-nested function and arrays
3335
- Fixed bug #961 : Two anonymous functions passed as function/method arguments cause indentation false positive
3436
- Fixed bug #1007 : Squiz Unreachable code detection is not working properly with a closure inside a case

0 commit comments

Comments
 (0)