Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 18, 2025

Bumps squizlabs/php_codesniffer from 3.12.1 to 3.13.2.

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.13.2 - 2025-06-18

Changed

  • The documentation for the following sniffs has been improved:
    • Squiz.Classes.SelfMemberReference
    • Thanks to Rodrigo Primo for the patch.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #1135 : Squiz.Functions.FunctionDeclarationArgumentSpacing: typo in new error code SpacingAfterSetVis[i]bility.

Statistics

Closed: 0 issues Merged: 6 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!

3.13.1 - 2025-06-13

Added

  • Added support for PHP 8.4 properties with asymmetric visibility to File::getMemberProperties() through a new set_scope array index in the return value. #1116
  • Added support for PHP 8.4 (constructor promoted) properties with asymmetric visibility to File::getMethodParameters() through new set_visibility and set_visibility_token array indexes in the return value. #1116
  • Added support for PHP 8.4 asymmetric visibility modifiers to the following sniffs:
    • Generic.PHP.LowerCaseKeyword #1117
    • PEAR.NamingConventions.ValidVariableName #1118
    • PSR2.Classes.PropertyDeclaration #1119
    • Squiz.Commenting.BlockComment #1120
    • Squiz.Commenting.DocCommentAlignment #1120
    • Squiz.Commenting.VariableComment #1120
    • Squiz.Functions.FunctionDeclarationArgumentSpacing #1121
    • Squiz.Scope.MemberVarScope #1122
    • Squiz.WhiteSpace.MemberVarSpacing #1123
    • Squiz.WhiteSpace.ScopeKeywordSpacing #1124
    • Thanks to Juliette Reinders Folmer for the patches.

Changed

  • The PSR2.Classes.PropertyDeclaration will now check that a set-visibility modifier keyword is placed after a potential general visibility keyword. #1119
  • The Squiz.Functions.FunctionDeclarationArgumentSpacing will now check spacing after a set-visibility modifier keyword. #1121
    • Errors will be reported via a new SpacingAfterSetVisibility error code.
    • Thanks to Juliette Reinders Folmer for the patch.

... (truncated)

Changelog

Sourced from squizlabs/php_codesniffer's changelog.

[3.13.2] - 2025-06-18

Changed

  • The documentation for the following sniffs has been improved:
    • Squiz.Classes.SelfMemberReference
    • Thanks to [Rodrigo Primo][@​rodrigoprimo] for the patch.
  • Various housekeeping, including improvements to the tests and documentation.

Fixed

  • Fixed bug #1135 : Squiz.Functions.FunctionDeclarationArgumentSpacing: typo in new error code SpacingAfterSetVis\[i\]bility.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.

#1135: PHPCSStandards/PHP_CodeSniffer#1135

[3.13.1] - 2025-06-13

Added

  • Added support for PHP 8.4 properties with asymmetric visibility to File::getMemberProperties() through a new set_scope array index in the return value. #1116
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patches.
  • Added support for PHP 8.4 (constructor promoted) properties with asymmetric visibility to File::getMethodParameters() through new set_visibility and set_visibility_token array indexes in the return value. #1116
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patches.
  • Added support for PHP 8.4 asymmetric visibility modifiers to the following sniffs:
    • Generic.PHP.LowerCaseKeyword #1117
    • PEAR.NamingConventions.ValidVariableName #1118
    • PSR2.Classes.PropertyDeclaration #1119
    • Squiz.Commenting.BlockComment #1120
    • Squiz.Commenting.DocCommentAlignment #1120
    • Squiz.Commenting.VariableComment #1120
    • Squiz.Functions.FunctionDeclarationArgumentSpacing #1121
    • Squiz.Scope.MemberVarScope #1122
    • Squiz.WhiteSpace.MemberVarSpacing #1123
    • Squiz.WhiteSpace.ScopeKeywordSpacing #1124
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patches.

Changed

  • The PSR2.Classes.PropertyDeclaration will now check that a set-visibility modifier keyword is placed after a potential general visibility keyword. #1119
    • Errors will be reported via a new AvizKeywordOrder error code.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • The Squiz.Functions.FunctionDeclarationArgumentSpacing will now check spacing after a set-visibility modifier keyword. #1121
    • Errors will be reported via a new SpacingAfterSetVisibility error code.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • The Squiz.Scope.MemberVarScope will now flag missing "read" visibility, when "write" visibility is set, under a separate error code AsymReadMissing. #1122
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • The documentation for the following sniffs has been improved:
    • PEAR.Classes.ClassDeclaration
    • Squiz.WhiteSpace.FunctionOpeningBraceSpace
    • Thanks to [Brian Dunne][@​braindawg] and [Rodrigo Primo][@​rodrigoprimo] for the patches.
  • Various housekeeping, including improvements to the tests and documentation.

... (truncated)

Commits
  • 5b5e382 Merge pull request #1139 from PHPCSStandards/feature/changelog-3.13.2
  • 5e1bf44 Changelog for the 3.13.2 release
  • 7af44a3 Squiz/SelfMemberReference: update XML doc (#1108)
  • 3a9a4b2 Merge pull request #1137 from PHPCSStandards/feature/docs-various-fixes
  • c43b854 Merge pull request #1135 from PHPCSStandards/feature/squiz-functiondeclaratio...
  • 47fdb33 Merge pull request #1134 from PHPCSStandards/feature/update-license-copyright
  • d8ace30 Various minor fixes / typos
  • a1c2aaa Squiz/FunctionDeclarationArgumentSpacing: fix typo in `SpacingAfterSetVis[i]b...
  • b128c59 Licence: update copyright
  • 6739594 Merge pull request #1133 from rodrigoprimo/remove-outdated-code-from-filter-c...
  • 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.1 to 3.13.2.
- [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.1...3.13.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 18, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 5, 2025

Superseded by #261.

@dependabot dependabot bot closed this Sep 5, 2025
@dependabot dependabot bot deleted the dependabot/composer/squizlabs/php_codesniffer-3.13.2 branch September 5, 2025 01:01
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.

0 participants