File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
75
75
- Zend.Files.ClosingTag no longer adds a semi-colon during fixing of a file that only contains a comment
76
76
-- Thanks to Juliette Reinders Folmer for the patch
77
77
- Fixed bug #2337 : Generic.WhiteSpace.ScopeIndent incorrect error when multi-line function call starts on same line as open tag
78
+ - Fixed bug #2348 : Cache not invalidated when changing a ruleset included by another
78
79
</notes >
79
80
<contents >
80
81
<dir name =" /" >
Original file line number Diff line number Diff line change @@ -161,8 +161,7 @@ public function __construct(Config $config)
161
161
$ this ->name .= ', ' ;
162
162
}
163
163
164
- $ this ->name .= $ standardName ;
165
- $ this ->paths [] = $ standard ;
164
+ $ this ->name .= $ standardName ;
166
165
167
166
// Allow autoloading of custom files inside this standard.
168
167
if (isset ($ ruleset ['namespace ' ]) === true ) {
@@ -334,6 +333,7 @@ public function processRuleset($rulesetPath, $depth=0)
334
333
$ includedSniffs = [];
335
334
$ excludedSniffs = [];
336
335
336
+ $ this ->paths [] = $ rulesetPath ;
337
337
$ rulesetDir = dirname ($ rulesetPath );
338
338
$ this ->rulesetDirs [] = $ rulesetDir ;
339
339
You can’t perform that action at this time.
0 commit comments