Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps squizlabs/php_codesniffer from 3.12.0 to 3.12.1.

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.12.1 - 2025-04-04

Added

  • Documentation for the following sniffs:
    • Squiz.Commenting.BlockComment
    • Thanks to Colin Stewart for the patch.

Changed

Deprecated

  • The Generic.Functions.CallTimePassByReference sniff. See #921.
    • This sniff will be removed in version 4.0.0.

Fixed

  • Fixed bug #906 : Fixer: prevent InvalidArgumentExceptions when displaying verbose information.
  • Fixed bug #907 : Tokenizer/PHP: tokenization of tokens related to union, intersection and DNF types in combination with PHP 8.4 final properties.
  • Fixed bug #908 : Tokenizer/PHP: tokenization of ? in nullable types for readonly properties.
  • Fixed bug #916 : Tokenizer/PHP: goto was not recognized as a terminating statement for a case/default in a switch control structure.

Other

  • PHP_CodeSniffer 4.0 is coming soon! Interested in a sneak peek ? Join the live stream at any time on April 14, 15, 17 or 18. Read the open invitation (#924) for all the details.

New Contributors

The PHP_CodeSniffer project is happy to welcome the following new contributors: @​costdev

Statistics

Closed: 0 issues Merged: 24 pull requests

Follow @​phpcs on Mastodon or @​PHP_CodeSniffer on X to stay informed.

Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[3.12.1] - 2025-04-04

Added

  • Documentation for the following sniffs:
    • Squiz.Commenting.BlockComment
    • Thanks to [Colin Stewart][@​costdev] for the patch.

Changed

  • Generic.WhiteSpace.HereNowdocIdentifierSpacing: improved error message text.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Various housekeeping, including improvements to the tests and documentation.

Deprecated

  • The Generic.Functions.CallTimePassByReference sniff. See #921.
    • This sniff will be removed in version 4.0.0.

Fixed

  • Fixed bug #906 : Fixer: prevent InvalidArgumentExceptions when displaying verbose information.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #907 : Tokenizer/PHP: tokenization of tokens related to union, intersection and DNF types in combination with PHP 8.4 final properties.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #908 : Tokenizer/PHP: tokenization of ? in nullable types for readonly properties.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Fixed bug #916 : Tokenizer/PHP: goto was not recognized as a terminating statement for a case/default in a switch control structure.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.

Other

  • PHP_CodeSniffer 4.0 is coming soon! Interested in a sneak peek ? Join the live stream at any time on April 14, 15, 17 or 18. Read the open invitation (#924) for all the details.

#906: PHPCSStandards/PHP_CodeSniffer#906 #907: PHPCSStandards/PHP_CodeSniffer#907 #908: PHPCSStandards/PHP_CodeSniffer#908 #916: PHPCSStandards/PHP_CodeSniffer#916 #921: PHPCSStandards/PHP_CodeSniffer#921 #924: PHPCSStandards/PHP_CodeSniffer#924

Commits
  • ea16a1f Merge pull request #925 from PHPCSStandards/feature/changelog-3.12.1
  • 3bf90b6 Changelog for the 3.12.1 release
  • a51ef18 Merge pull request #923 from rodrigoprimo/documentation-function-call-argumen...
  • 02ff468 Generic/FunctionCallArgumentSpacing: improve XML documentation
  • 7a47e82 Generic/FunctionCallArgumentSpacing: fix code examples in the XML doc
  • a80fde9 Generic/FunctionCallArgumentSpacing: update XML doc to remove info about spac...
  • 5757c5b Merge pull request #919 from PHPCSStandards/feature/generic-heredocnowdociden...
  • 4f7ccf3 Merge pull request #916 from PHPCSStandards/feature/tokenizer-php-goto-is-ter...
  • 835d578 Merge pull request #922 from rodrigoprimo/documentation-useless-overriding-me...
  • 52dd82b Generic/UselessOverridingMethod: improve documentation description and
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](PHPCSStandards/PHP_CodeSniffer@3.12.0...3.12.1)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-version: 3.12.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 7, 2025
@sibprogrammer sibprogrammer merged commit 44b652f into master Apr 7, 2025
1 check passed
@dependabot dependabot bot deleted the dependabot/composer/squizlabs/php_codesniffer-3.12.1 branch April 7, 2025 07:20
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 php Pull requests that update php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant