Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0: Replace the WordPress.PHP.StrictComparisons sniff #1919

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 6, 2020

... with a similar sniff as merged upstream in PHPCSExtra as Universal.Operators.StrictComparisons.

Notes:

  • The sniff in PHPCSExtra contains a fixer. As this is a risky fixer, this fixer is turned off for WPCS.
  • The sniff in PHPCSExtra will provide metrics about loose versus strict comparisons.

Ref: PHPCSStandards/PHPCSExtra#48

... with a similar sniff as merged upstream in PHPCSExtra as `Universal.Operators.StrictComparisons`.

Notes:
* The sniff in PHPCSExtra contains a fixer. As this is a risky fixer, this fixer is turned off for WPCS.
* The sniff in PHPCSExtra will provide metrics about loose versus strict comparisons.
@jrfnl jrfnl added this to the 3.0.0 milestone Jul 6, 2020
@jrfnl jrfnl changed the title Replace the WordPress.PHP.StrictComparisons sniff 3.0: Replace the WordPress.PHP.StrictComparisons sniff Jul 6, 2020
@jrfnl jrfnl mentioned this pull request Jul 6, 2020
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants