Bug Description
The Sniff::merge_custom_array() function was moved to a new Helper class in WPCS: WordPress/WordPress-Coding-Standards#2157.
As per #734 (comment), it could still be used from WPCS, so the references (currently only 1) need updating when getting compatibility with 3.0.
Minimal Code Snippet
See
|
$this->excluded_groups = static::merge_custom_array( $this->exclude ); |
Environment
Use php -v and composer show to get versions.
| Question |
Answer |
| PHP version |
N/A |
| PHP_CodeSniffer version |
N/A |
| VIPCS version |
dev-develop / 3.0.0 |
Bug Description
The
Sniff::merge_custom_array()function was moved to a new Helper class in WPCS: WordPress/WordPress-Coding-Standards#2157.As per #734 (comment), it could still be used from WPCS, so the references (currently only 1) need updating when getting compatibility with 3.0.
Minimal Code Snippet
See
VIP-Coding-Standards/WordPressVIPMinimum/Sniffs/AbstractVariableRestrictionsSniff.php
Line 130 in 8953e4a
Environment
Use
php -vandcomposer showto get versions.