Automattic / VIP-Coding-Standards

PHP_CodeSniffer ruleset to enforce WordPress VIP coding standards.
https://wpvip.com/documentation/how-to-install-php-code-sniffer-for-wordpress-com-vip/
Other
236 stars 40 forks source link

Review the WordPressVIPMinimum.Performance.CacheValueOverride sniff #530

Open jrfnl opened 4 years ago

jrfnl commented 4 years ago

Review the WordPressVIPMinimum.Performance.CacheValueOverride sniff for the following in as far as relevant to that sniff:

Other:

Sniff basics, but changes need to be lined up for next major release:

Once PHPCS/PHPCSUtils supports this:

GaryJones commented 4 years ago

@gmazzap pointed out that this DocBlock for CacheValueOverride is incorrect (copy-pasta).

It's not been substantially changed for 4 years!