woocommerce / woocommerce-sniffs

Collection of PHP_CodeSniffer sniffs for WooCommerce
https://packagist.org/packages/woocommerce/woocommerce-sniffs
MIT License
48 stars 10 forks source link

Update dependency wp-coding-standards/wpcs to v2.3.0 #12

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
wp-coding-standards/wpcs require minor 2.2.1 -> 2.3.0

Release Notes

WordPress/WordPress-Coding-Standards ### [`v2.3.0`](https://togithub.com/WordPress/WordPress-Coding-Standards/blob/master/CHANGELOG.md#​230---2020-05-14) [Compare Source](https://togithub.com/WordPress/WordPress-Coding-Standards/compare/2.2.1...2.3.0) ##### Added - The `WordPress.WP.I18n` sniff contains a new check for translatable text strings which are wrapped in HTML tags, like `

Translate me

`. Those tags should be moved out of the translatable string. Note: Translatable strings wrapped in `` tags where the URL is intended to be localized will not trigger this check. ##### Changed - The default value for `minimum_supported_wp_version`, as used by a [number of sniffs detecting usage of deprecated WP features](https://togithub.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#minimum-wp-version-to-check-for-usage-of-deprecated-functions-classes-and-function-parameters), has been updated to `5.1`. - The `WordPress.WP.DeprecatedFunctions` sniff will now detect functions deprecated in WP 5.4. - Improved grammar of an error message in the `WordPress.WP.DiscouragedFunctions` sniff. - CI: The codebase is now - preliminary - being tested against the PHPCS 4.x development branch. ##### Fixed - All function call detection sniffs: fixed a bug where constants with the same name as one of the targeted functions could inadvertently be recognized as if they were a called function. - `WordPress.DB.PreparedSQL`: fixed a bug where the sniff would trigger on the namespace separator character `\\`. - `WordPress.Security.EscapeOutput`: fixed a bug with the variable replacement in one of the error messages.

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.