File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
WordPressVIPMinimum/Sniffs Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1212use PHPCSUtils \Utils \GetTokensAsString ;
1313use PHPCSUtils \Utils \MessageHelper ;
1414use WordPressCS \WordPress \Helpers \ContextHelper ;
15+ use WordPressCS \WordPress \Helpers \RulesetPropertyHelper ;
1516
1617/**
1718 * Restricts usage of some variables.
@@ -129,7 +130,7 @@ public function process_token( $stackPtr ) {
129130
130131 $ token = $ this ->tokens [ $ stackPtr ];
131132
132- $ this ->excluded_groups = static ::merge_custom_array ( $ this ->exclude );
133+ $ this ->excluded_groups = RulesetPropertyHelper ::merge_custom_array ( $ this ->exclude );
133134 if ( array_diff_key ( $ this ->groups_cache , $ this ->excluded_groups ) === [] ) {
134135 // All groups have been excluded.
135136 // Don't remove the listener as the exclude property can be changed inline.
You can’t perform that action at this time.
0 commit comments