WPTT / WPThemeReview

PHP_CodeSniffer rules (sniffs) to enforce WordPress theme review coding conventions
MIT License
208 stars 38 forks source link

Update for PHPCompatibility 9.0.0 #180

Closed jrfnl closed 5 years ago

jrfnl commented 5 years ago

PHPCompatibility 9.0.0 has just been released and renames all sniffs. PHPCompatibilityWP 2.0.0 has been released alongside it.

The upgrade for this repo is simple as TRTCS currently doesn't use PHPCS inline annotations which reference PHPCompatibility sniffs, nor uses custom excludes.

As the PHPCompatibilityWP ruleset as of version 2.0 has an additional dependency, it is however opportune to let the DealerDirect plugin sort out the installed paths, at least for devs.

For end-users, the DealerDirect plugin is advised anyway, so hopefully people will listen to that advice ;-)