Skip to content

Update dependency squizlabs/php_codesniffer to v3.13.2 #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
squizlabs/php_codesniffer 3.13.0 -> 3.13.2 age adoption passing confidence

Release Notes

PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)

v3.13.2

Compare Source

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.

v3.13.1

Compare Source

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.
Other
  • The latest PHP_CodeSniffer XSD file is now available via the following permalink: https://schema.phpcodesniffer.com/phpcs.xsd. #​1094
    Older XSD files can be referenced via permalinks based on their minor: https://schema.phpcodesniffer.com/#.#/phpcs.xsd.

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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency squizlabs/php_codesniffer to v3.13.1 Update dependency squizlabs/php_codesniffer to v3.13.2 Jun 17, 2025
@renovate renovate bot force-pushed the renovate/squizlabs-php_codesniffer-3.x-lockfile branch from adae091 to a741e2d Compare June 17, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants