Skip to content

replace WordPress.WP.TimezoneChange with WordPress.DateTime.RestrictedFunctions#475

Closed
paulschreiber wants to merge 1 commit intoAutomattic:developfrom
paulschreiber:fix/timezone
Closed

replace WordPress.WP.TimezoneChange with WordPress.DateTime.RestrictedFunctions#475
paulschreiber wants to merge 1 commit intoAutomattic:developfrom
paulschreiber:fix/timezone

Conversation

@paulschreiber
Copy link
Contributor

Hopefully fixes this warning:

------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | The "WordPress.WP.TimezoneChange" sniff has been deprecated. Use the "WordPress.DateTime.RestrictedFunctions" sniff
   |         | instead. Please update your custom ruleset. (WordPress.WP.TimezoneChange.DeprecatedSniff)
------------------------------------------------------------------------------------------------------------------------------------------

@jenkoian
Copy link
Contributor

jenkoian commented Apr 9, 2020

Believe this has already been fixed here: #453 just need to publish a new release as per #457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants