abrain / einsatzverwaltung

WordPress plugin for public incident reports for fire departments and other rescue services
https://einsatzverwaltung.org
GNU General Public License v2.0
54 stars 17 forks source link

chore(deps): update dependency wp-coding-standards/wpcs to v3.1.0 #293

Closed abrain-bot closed 3 months ago

abrain-bot commented 3 months ago

This PR contains the following updates:

Package Type Update Change
wp-coding-standards/wpcs require-dev minor 3.0.1 -> 3.1.0

Release Notes

WordPress/WordPress-Coding-Standards (wp-coding-standards/wpcs) ### [`v3.1.0`](https://togithub.com/WordPress/WordPress-Coding-Standards/blob/HEAD/CHANGELOG.md#310---2024-03-25) [Compare Source](https://togithub.com/WordPress/WordPress-Coding-Standards/compare/3.0.1...3.1.0) ##### Added - WordPress-Core ruleset: now includes the `Universal.PHP.LowercasePHPTag` sniff. - WordPress-Extra ruleset: now includes the `Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence` and the `Universal.CodeAnalysis.NoDoubleNegative` sniffs. - The `sanitize_locale_name()` function to the list of known "escaping" functions. Props \[[@​Chouby](https://togithub.com/Chouby)] - The `sanitize_locale_name()` function to the list of known "sanitize & unslash" functions. Props \[[@​Chouby](https://togithub.com/Chouby)] ##### Changed - The minimum required `PHP_CodeSniffer` version to 3.9.0 (was 3.7.2). - The minimum required `PHPCSUtils` version to 1.0.10 (was 1.0.8). - The minimum required `PHPCSExtra` version to 1.2.1 (was 1.1.0). Please ensure you run `composer update wp-coding-standards/wpcs --with-dependencies` to benefit from these updates. - Core ruleset: the spacing after the `use` keyword for closure `use` statements will now consistently be checked. Props \[[@​westonruter](https://togithub.com/westonruter)] for reporting. - The default value for `minimum_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#various-sniffs-set-the-minimum-supported-wp-version), has been updated to `6.2`. - `WordPress.NamingConventions.PrefixAllGlobals` has been updated to recognize pluggable functions introduced in WP 6.4 and 6.5. - `WordPress.NamingConventions.ValidPostTypeSlug` has been updated to recognize reserved post types introduced in WP 6.4 and 6.5. - `WordPress.WP.ClassNameCase` has been updated to recognize classes introduced in WP 6.4 and 6.5. - `WordPress.WP.DeprecatedClasses` now detects classes deprecated in WordPress up to WP 6.5. - `WordPress.WP.DeprecatedFunctions` now detects functions deprecated in WordPress up to WP 6.5. - The `IsUnitTestTrait` will now recognize classes which extend the new WP Core `WP_Font_Face_UnitTestCase` class as test classes. - The test suite can now run on PHPUnit 4.x - 9.x (was 4.x - 7.x), which should make contributing more straight forward. - Various housekeeping, includes a contribution from \[[@​rodrigoprimo](https://togithub.com/rodrigoprimo)]. ##### Fixed - `WordPress.WP.PostsPerPage` could potentially result in an `Internal.Exception` when encountering a query string which doesn't include the value for `posts_per_page` in the query string. Props \[[@​anomiex](https://togithub.com/anomiex)] for reporting.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

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



This PR has been generated by Renovate Bot.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 25.09%. Comparing base (eea90de) to head (df4b4f6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #293 +/- ## ========================================== Coverage 25.09% 25.09% Complexity 1602 1602 ========================================== Files 81 81 Lines 6471 6471 ========================================== Hits 1624 1624 Misses 4847 4847 ``` | [Flag](https://app.codecov.io/gh/abrain/einsatzverwaltung/pull/293/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Brain) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/abrain/einsatzverwaltung/pull/293/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Brain) | `11.72% <ø> (ø)` | | | [unit](https://app.codecov.io/gh/abrain/einsatzverwaltung/pull/293/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Brain) | `14.88% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Brain#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.