Skip to content

Conversation

@renovate-runner
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
squizlabs/php_codesniffer ^3.13.2 -> ^3.13.3 age confidence

Release Notes

PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)

v3.13.3

Compare Source

Added
  • Tokenizer support for PHP 8.4 dereferencing of new expressions without wrapping parentheses. #​1160
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Tokenizer support for PHP 8.4 abstract properties. #​1183
    • The File::getMemberProperties() method now also supports abstract properties through a new is_abstract array index in the return value. #​1184
    • Additionally, the following sniffs have been updated to support abstract properties:
      • Generic.PHP.LowerCaseConstant #​1185
      • Generic.PHP.UpperCaseConstant #​1185
      • PSR2.Classes.PropertyDeclaration #​1188
      • Squiz.Commenting.VariableComment #​1186
      • Squiz.WhiteSpace.MemberVarSpacing #​1187
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patches
  • Tokenizer support for the PHP 8.4 "exit as a function call" change. #​1201
    • When exit/die is used as a fully qualified "function call", it will now be tokenized as T_NS_SEPARATOR + T_EXIT.
    • Additionally, the following sniff has been updated to handle fully qualified exit/die correctly:
      • Squiz.PHP.NonExecutableCode
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patches
Changed
  • Tokenizer/PHP: fully qualified true/false/null will now be tokenized as T_NS_SEPARATOR + T_TRUE/T_FALSE/T_NULL. #​1201
    • Previously, these were tokenized as T_NS_SEPARATOR + T_STRING.
    • Additionally, the following sniffs have been updated to handle fully qualified true/false/null correctly:
      • Generic.CodeAnalysis.UnconditionalIfStatement
      • Generic.ControlStructures.DisallowYodaConditions
      • PEAR.Functions.ValidDefaultValue
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patches.
  • Generic.PHP.Syntax: the sniff is now able to scan input provided via STDIN on non-Windows OSes. #​915
  • PSR2.ControlStructures.SwitchDeclaration: the WrongOpener* error code is now auto-fixable if the identified "wrong opener" is a semi-colon. #​1161
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • The PSR2.Classes.PropertyDeclaration will now check that the abstract modifier keyword is placed before a visibility keyword. #​1188
    • Errors will be reported via a new AbstractAfterVisibility error code.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
  • Various housekeeping, including improvements to the tests and documentation.
Fixed
  • Fixed bug #​1112 : --parallel option fails if PHP_CodeSniffer is invoked via bash and the invokation creates a non-PHPCS-managed process.
  • Fixed bug #​1113 : fatal error when the specified "files to scan" would result in the same file being added multiple times to the queue.
    • This error only occured when --parallel scanning was enabled.
    • Thanks to [Rodrigo Primo][@​rodrigoprimo] for the patch.
  • Fixed bug #​1154 : PEAR.WhiteSpace.ObjectOperatorIndent: false positive when checking multiple chained method calls in a multidimensional array.
  • Fixed bug #​1193 : edge case inconsistency in how empty string array keys for sniff properties are handled.
  • Fixed bug #​1197 : Squiz.Commenting.FunctionComment: return types containing a class name with underscores would be truncated leading to incorrect results.
    • Thanks to [Juliette Reinders Folmer][@​jrfnl] for the patch.
Other

Configuration

📅 Schedule: Branch creation - Every 3 hours, between 06:00 AM and 10:59 PM, Monday through Friday ( * 6-22/3 * * 1-5 ), Every 3 hours, between 12:00 PM and 11:59 PM, only on Sunday and Saturday ( * 12-23/3 * * 0,6 ) in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 has been generated by Renovate Bot.

@renovate-runner renovate-runner bot added the Dependencies 📦 Pull requests that update a dependency file label Sep 4, 2025
@boring-cyborg boring-cyborg bot added JSON 👨‍💼 PHP 🐘 Hypertext Pre Processor labels Sep 4, 2025
@github-actions
Copy link

github-actions bot commented Sep 4, 2025

🏰 Composer Production Dependency changes 🏰

Prod Packages Operation Base Target Link
squizlabs/php_codesniffer Upgraded 3.13.2 3.13.3 Compare
@github-actions github-actions bot added this to the 8.2.0 milestone Sep 4, 2025
@renovate-runner renovate-runner bot changed the title Update dependency squizlabs/php_codesniffer to ^3.13.3 Update dependency squizlabs/php_codesniffer to ^3.13.3 - autoclosed Sep 5, 2025
@renovate-runner renovate-runner bot closed this Sep 5, 2025
@renovate-runner renovate-runner bot deleted the renovate/update-packagist-squizlabs-php-codesniffer-3-13-3 branch September 5, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI 🚧 Dependencies 📦 Pull requests that update a dependency file JSON 👨‍💼 PHP 🐘 Hypertext Pre Processor

1 participant