Bump PHP_CodeSniffer and coding-standard plugin versions - #349
Open
stefanvacareanu7 wants to merge 1 commit into
Open
stefanvacareanu7 wants to merge 1 commit into
stefanvacareanu7 wants to merge 1 commit into
Conversation
Updates squizlabs/php_codesniffer (4.0.1 -> 4.0.4), cakephp/cakephp-codesniffer (5.3.0 -> 5.3.2), slevomat/coding-standard (8.30.1 -> 8.31.1), and phpstan/phpdoc-parser (2.3.2 -> 2.3.5), regenerating composer.lock to match. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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
The required dependency updates and lockfile regeneration cannot be independently verified from the available diff evidence. Docker builds, dependency resolution, audit, and the specified DockerTest scenarios are also unverified. No Codacy issues were reported, and the analysis is up to standards.
About this PR
- Please provide evidence that composer.lock was regenerated with phpcsutils pinned at 1.2.3 and that dependency resolution, composer audit, Docker builds, and the listed DockerTest scenarios pass.
Test suggestions
- Verify all requested composer.json package versions are updated.
- Verify composer.lock is regenerated consistently with the requested dependency updates.
- Run composer update with dependencies and composer audit successfully.
- Build the Docker image successfully through all stages.
- Pass json, pattern, and multiple codacy-plugins-test DockerTest scenarios.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify all requested composer.json package versions are updated.
2. Verify composer.lock is regenerated consistently with the requested dependency updates.
3. Run composer update with dependencies and composer audit successfully.
4. Build the Docker image successfully through all stages.
5. Pass json, pattern, and multiple codacy-plugins-test DockerTest scenarios.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
squizlabs/php_codesniffer4.0.1 → 4.0.4cakephp/cakephp-codesniffer5.3.0 → 5.3.2slevomat/coding-standard8.30.1 → 8.31.1phpstan/phpdoc-parser2.3.2 → 2.3.5composer.lockto match (keptphpcsstandards/phpcsutilspinned at 1.2.3, avoiding the CVE-2026-65954 arbitrary-code-execution advisory affecting <1.2.3)Other pinned packages (
drupal/coder,escapestudios/symfony2-coding-standard,phpcompatibility/*,symfony/flex,dealerdirect/phpcodesniffer-composer-installer,doctrine/coding-standard) are already at their latest Packagist versions, so left untouched. CircleCI orb versions,build.sbttoolchain versions, and the Dockerfile base images (phpdoc 3.10.0,php:8.5-cli) were also verified to already be current, per the playbook's "don't bump opportunistically" guidance.Validation
composer update <packages> --with-dependencies— resolved cleanly,composer auditreports no vulnerabilitiesdocker build -t codacy-codesniffer .— succeeds end-to-end (doc-generator, native-image builder, final PHP runtime stages)codacy-plugins-testjsonDockerTest — all tests passedcodacy-plugins-testpatternDockerTest — all tests passedcodacy-plugins-testmultipleDockerTest (matches CI'srun_multiple_tests: true) — all tests passed🤖 Generated with Claude Code