WPTT / WPThemeReview

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

Add sniff: `WordPress.WP.DeprecatedParameterValues` #171

Closed jrfnl closed 5 years ago

jrfnl commented 6 years ago

WPCS 1.0.0 added a new WordPress.WP.DeprecatedParameterValues sniff which checks that no deprecated parameter values are passed to function calls (in as far as it can reliably determine this).

I would like to suggest adding this sniff to the TRTCS ruleset.

This would solve the last part of issue #72. Loosely related to #80.

Opinions ?

Refs:

jrfnl commented 5 years ago

Closing as PR #217 has been merged.