Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps the dev-dependencies group with 2 updates: phpunit/phpunit and wp-coding-standards/wpcs.

Updates phpunit/phpunit from 9.6.16 to 9.6.18

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 9.6.18

Changed

  • #5763: Release nullable type changes for PHPUnit 9.6

How to install or update PHPUnit

Changelog

Sourced from phpunit/phpunit's changelog.

[9.6.18] - 2024-03-21

Changed

  • #5763: Release nullable type changes for PHPUnit 9.6

[9.6.17] - 2024-02-23

Changed

  • Improve output of --check-version CLI option
  • Improve description of --check-version CLI option
  • Show help for --manifest, --sbom, and --composer-lock when the PHAR is used

Fixed

  • #5712: Update dependencies for PHAR distribution of PHPUnit 9.6
Commits

Updates wp-coding-standards/wpcs from 3.0.1 to 3.1.0

Release notes

Sourced from wp-coding-standards/wpcs's releases.

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
  • The sanitize_locale_name() function to the list of known "sanitize & unslash" functions. Props @​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 for reporting.
  • The default value for minimum_wp_version, as used by a number of sniffs detecting usage of deprecated WP features, 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.

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 for reporting.
Changelog

Sourced from wp-coding-standards/wpcs's changelog.

[3.1.0] - 2024-03-25

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]
  • The sanitize_locale_name() function to the list of known "sanitize & unslash" functions. Props [@​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] for reporting.
  • The default value for minimum_wp_version, as used by a number of sniffs detecting usage of deprecated WP features, 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].

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] for reporting.
Commits
  • 9333efc Merge pull request #2439 from WordPress/develop
  • cf2cffe Merge pull request #2438 from WordPress/feature/changelog-release-3.1.0
  • 87ab204 Changelog for the release of WordPressCS 3.1.0
  • fe959de Merge pull request #2437 from WordPress/feature/composer-update-phpcsutils
  • 0119a3f Merge pull request #2436 from WordPress/feature/update-list-based-sniffs-wp-6.5
  • d4afaba Composer: raise the minimum supported PHPCSUtils version to 1.0.10
  • 4e384e2 Update the minimum_wp_version to WP 6.2
  • 16d40a0 WP/DeprecatedFunctions: update the functions list based on WP 6.5-RC3
  • 8b1ef9b WP/DeprecatedClasses: update the class list based on WP 6.5-RC3
  • 5e988d8 WP/ClassNameCase: update the class lists based on WP 6.5-RC3
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dev-dependencies group with 2 updates: [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) and [wp-coding-standards/wpcs](https://github.com/WordPress/WordPress-Coding-Standards).


Updates `phpunit/phpunit` from 9.6.16 to 9.6.18
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md)
- [Commits](sebastianbergmann/phpunit@9.6.16...9.6.18)

Updates `wp-coding-standards/wpcs` from 3.0.1 to 3.1.0
- [Release notes](https://github.com/WordPress/WordPress-Coding-Standards/releases)
- [Changelog](https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/CHANGELOG.md)
- [Commits](WordPress/WordPress-Coding-Standards@3.0.1...3.1.0)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: wp-coding-standards/wpcs
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 1, 2024
@codesandbox
Copy link

codesandbox bot commented Apr 1, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@soup-bowl soup-bowl merged commit 0baa49a into develop Apr 1, 2024
@soup-bowl soup-bowl deleted the dependabot/composer/dev-dependencies-670cbe7ac8 branch April 1, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants