Open jrfnl opened 4 years ago
Related: #499
See: https://github.com/Automattic/VIP-Coding-Standards/issues/520#issuecomment-664731658 for initial review remarks which largely apply to this sniff as well.
Waiting on the release of PHPUtils for this one.
Review the
WordPressVIPMinimum.Hooks.PreGetPosts
sniff for the following in as far as relevant to that sniff:list
statements::class
use function/const
Other:
Sniff basics, but changes need to be lined up for next major release:
public
properties (#234)Once PHPCS/PHPCSUtils supports this:
match
expressions