WPCS 2.2.0 issues warnings for short array syntax usage. These are intended for WordPress core and are safe to ignore. This PR excludes short array syntax warnings from our phpcs standards checks.
It also ignores meta_key and meta_value warnings, which we depend on for the WooCommerce code.
To test
Delete composer.lock (ensures the latest version of wpcs is installed in the third step, but composer update usually works too).
WPCS 2.2.0 issues warnings for short array syntax usage. These are intended for WordPress core and are safe to ignore. This PR excludes short array syntax warnings from our phpcs standards checks.
It also ignores meta_key and meta_value warnings, which we depend on for the WooCommerce code.
To test
composer update
usually works too).There should be no warnings.