build(deps): bump squizlabs/php_codesniffer from 4.0.1 to 4.0.2 - #348
build(deps): bump squizlabs/php_codesniffer from 4.0.1 to 4.0.2#348dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases) - [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/4.x/CHANGELOG-4.x.md) - [Commits](PHPCSStandards/PHP_CodeSniffer@4.0.1...4.0.2) --- updated-dependencies: - dependency-name: squizlabs/php_codesniffer dependency-version: 4.0.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
This Pull Request updates squizlabs/php_codesniffer from version 4.0.1 to 4.0.2. This is primarily a security release that addresses a vulnerability in blame reports (CVE-2026-67434). Additionally, the update provides tokenizer support for PHP 8.5 features and improves error messaging across several sniffs.
Codacy analysis indicates that the project remains up to standards, and no new quality issues were introduced. While the update is straightforward, attention should be paid to the changes in error message data placeholders, which may impact projects using custom rulesets that match against specific string patterns.
About this PR
- The release notes for 4.0.2 indicate that several sniffs (e.g., PEAR.Functions, PSR2.Classes, PSR2.ControlStructures) now expose more data placeholders in error messages. If this project utilizes a custom ruleset that overrides or performs regex matches against specific error message patterns, these rules may require manual adjustment to stay compatible with the new output format.
Test suggestions
- Verify that 'composer install' successfully resolves the new version without conflicts.
- Run the PHPCS linter on the project to ensure no regressions in existing code analysis or rulesets.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that 'composer install' successfully resolves the new version without conflicts.
2. Run the PHPCS linter on the project to ensure no regressions in existing code analysis or rulesets.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
Bumps squizlabs/php_codesniffer from 4.0.1 to 4.0.2.
Release notes
Sourced from squizlabs/php_codesniffer's releases.
... (truncated)
Changelog
Sourced from squizlabs/php_codesniffer's changelog.
... (truncated)
Commits
74ee2d4Merge pull request #1475 from PHPCSStandards/feature/changelog-4.0.22f4a106Changelog for the 4.0.2 release03d5368Merge branch '3.x' into 4.x4c378e1Merge pull request #1474 from PHPCSStandards/feature/changelog-3.13.6f0e1ebbMerge branch '3.x' into 4.xddbf849Merge pull request #1473 from PHPCSStandards/security/cve-2026-67434742a068Changelog for the 3.13.6 release7a3a6bbReports/*blame: properly escape file nameb90bca2PSR2.Classes.PropertyDeclaration: add T_STATIC to tokens list278f994Generic/MultipleStatementAlignment: fix multi-line chained assignment (#1444)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.