Skip to content
This repository was archived by the owner on Aug 21, 2026. It is now read-only.

composer (master)(deps-dev): bump the development-dependencies group with 6 updates - #315

Merged
mimmi20 merged 3 commits into
masterfrom
dependabot/composer/development-dependencies-24c107bbc3
Aug 9, 2026
Merged

composer (master)(deps-dev): bump the development-dependencies group with 6 updates#315
mimmi20 merged 3 commits into
masterfrom
dependabot/composer/development-dependencies-24c107bbc3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 9, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on infection/infection, nikic/php-parser, phpstan/phpstan, phpstan/phpstan-deprecation-rules, rector/rector and rector/type-perfect to permit the latest version.
Updates infection/infection to 0.34.1

Release notes

Sourced from infection/infection's releases.

Bugfixes and internal stuff

Fixed

Docs

Various ADRs additions:

Misc:

Internal

Various AutoReview related changes/improvements:

A few Docker Sandbox related changes:

... (truncated)

Commits
  • 263a6e3 fix(git): Resolve diff paths from the configuration directory (#3399)
  • d26b3f9 ai: Add a handoff skill (#3421)
  • 9a92be8 ci: Enable back the integration tests on Windows (#1805)
  • b273136 doc: Add an ADR for the final usage (#3381)
  • ecea037 test(ast): Add a benchmark for AST processing (#3088)
  • 42100c4 doc: Fix the ADR numbering (#3420)
  • 7a47012 ci: Ignore zizimor error in the metrics collection workflow (#3419)
  • 39a3927 [Conductor] Update phpunit/phpunit to 12.5.32 (#3418)
  • 4e7ecd3 [Conductor] Update carthage-software/mago to 1.45.0 (#3406)
  • d6c1b77 ci: Collect performance metrics on release tag pushes (#3416)
  • Additional commits viewable in compare view

Updates nikic/php-parser to 5.8.0

Release notes

Sourced from nikic/php-parser's releases.

PHP-Parser 5.8.0

Fixed

  • Treat _ as label character in formatting-preserving pretty printer.
  • Handle comment after object operator in keyword emulator.

Changed

  • Drop support for pipe operator in constant expression evaluator. It is not supported in constant expressions and may pose security risks, as it allows calls to arbitrary functions.
  • void parameter types now generate a (recoverable) error during parsing.
  • Restored reverse emulation support for fn keywords when targeting PHP before 7.4.
Changelog

Sourced from nikic/php-parser's changelog.

Version 5.8.0 (2026-06-04)

Fixed

  • Treat _ as label character in formatting-preserving pretty printer.
  • Handle comment after object operator in keyword emulator.

Changed

  • Drop support for pipe operator in constant expression evaluator. It is not supported in constant expressions and may pose security risks, as it allows calls to arbitrary functions.
  • void parameter types now generate a (recoverable) error during parsing.
  • Restored reverse emulation support for fn keywords when targeting PHP before 7.4.

Version 5.7.0 (2025-12-06)

Fixed

  • Fixed changing modifier on anonymous class with formatting preserving pretty printer.
  • Emit an error for unparenthesized arrow functions in pipe operator, and print necessary parentheses in the pretty printer.
  • Fix PHP 8.5 deprecation warning in php-parse binary.

Changed

  • When targeting PHP 8.4 or newer, omit parentheses around immediately dereferenced new expressions.

Added

  • Added shouldPrintRawValue attribute to Scalar\Int_, which makes the pretty printer use the rawValue of the node. This can be used to print integers with separators.

Version 5.6.2 (2025-10-21)

Fixed

  • Fixed formatting-preserving pretty-printing when changing the visibility modifier on a node that has attributes.
  • Fixed chr() deprecation warning on PHP 8.5.

Added

  • Added Param::isFinal() method.

Version 5.6.1 (2025-08-13)

... (truncated)

Commits
  • 044a6a3 Release PHP-Parser 5.8.0
  • ca145ac Try to fix tests on older versions
  • c81a0af Test PHP 8.6 in CI
  • b82d4c2 Handle comment after object operator
  • 49429ef Integration test against PHP 8.5
  • 9c3fe25 Drop support for pipe operator in constant expression evaluator
  • 2e66ec3 Fix PHPStan build on latest release (#1148)
  • b560dba Add missing label characters in PrettyPrinterAbstract::$labelCharMap (#1150)
  • 50f0d9c Restore FnTokenEmulator (#1141)
  • 0512478 Prevent void param type (#1142)
  • Additional commits viewable in compare view

Updates phpstan/phpstan to 2.2.7

Commits

Updates phpstan/phpstan-deprecation-rules to 2.0.5

Release notes

Sourced from phpstan/phpstan-deprecation-rules's releases.

2.0.5

  • 67bedd6 - Update github-actions (#197)
  • 6be8bd3 - Update actions/cache action to v6 (#198)
  • 0b310ec - Update github-actions to v3.0.1 (#195)
  • 782d848 - Update github-actions to v7 (#196)
  • 85fff9d - Update github-actions to f3e473d (#194)
  • 54db580 - Update github-actions (#193)
  • 99aff1a - Replace deprecated actions/create-release with softprops/action-gh-release
  • 971f8e1 - Bump GitHub Actions across major versions
  • 89fef35 - Bump GitHub Actions within their current majors
  • 0652358 - Update github-actions
  • 02119cc - Update github-actions
  • 389c78c - latest infection does not support PHP 8.2 (#189)
  • 899202d - Update release-toot.yml (#188)
  • 016d677 - name-collision-detector (#187)
  • 945df12 - Delete .github/workflows/claude-react-on-comment.yml
  • a70b8b1 - Remove default branch determination from workflow
  • 1faeb2e - Lint workflows
  • 534891e - [StepSecurity] ci: Harden GitHub Actions
  • 3acc664 - Remove PHPSTAN_BOT_TOKEN from checkout step
  • 49efeb2 - React on issues opened and fall back to issue body
  • 319c3f6 - Add PHP 8.5 to CI matrix for lint, tests, and static analysis
  • 73feeba - Add missing export-ignore entries to .gitattributes
  • c6d73e5 - Add CLAUDE.md with project documentation
  • f9f68eb - Add Claude React on Comment workflow
Commits

Updates rector/rector to 2.5.9

Release notes

Sourced from rector/rector's releases.

Released Rector 2.5.9

Bugfixes 🐛

  • [DeadCode] Remove unreachable class-like checks in Class_-only rules (#8217)
  • [CodingStyle] Use native php-parser node API over class reflection (#8218)
  • [Php80] Remove AstResolver usage on AddParamBasedOnParentClassMethodRector (#8196)
  • Wire RichParser node visitors via DI factory instead of private property hack (#8215)
  • [Php80] Skip promoting a property the parent declares without a native type in ClassPropertyAssignToConstructorPromotionRector (#8232)
  • [DeadCode] Keep empty __construct() in anonymous class that extends parent on RemoveEmptyClassMethodRector (#8219)
  • [DeadCode] Skip negative zero on RemoveDeadZeroAndOneOperationRector (#8213)
  • [DeadCode] Skip protected property on non-final class on RemoveDefaultValueFromAssignedPropertyRector (#8214)
  • [DeadCode] Skip array dim fetch assign on RemoveDefaultValueFromAssignedPropertyRector (#8212)
  • [DeadCode] Skip if/else in loop on RemoveDefaultValueFromAssignedPropertyRector (#8211)
  • [DeadCode] Skip early return in constructor on RemoveDefaultValueFromAssignedPropertyRector (#8209)

Set changes 🗑️

NullToStrictStringFuncCallArgRector out of the PHP 8.1 set (#8234)

The rule and all its fixtures stay, so it can still be opted into:

->withRules([NullToStrictStringFuncCallArgRector::class])

Deprecations 💀

TypeDeclarationDocblocks: 3 data provider docblock rules (#8235)

Data provider docblock typing is not relevant to code quality — it increases maintenance cost and decreases readability of the test class.

Deprecated rules:

  • AddReturnArrayDocblockFromDataProviderParamRector
  • AddReturnDocblockDataProviderRector
  • AddParamArrayDocblockFromDataProviderRector

rectorphp/rector-symfony 🎵

  • [Symfony72] Match push() to its own RequestStack variable in PushRequestToRequestStackConstructorRector (#971)
  • [Symfony44] Skip custom isGranted() service calls in controllers in AuthorizationCheckerIsGrantedExtractorRector (#973)
  • [Symfony42] Update Cookie fixture after NewToStaticCallRector config removal (#974)

... (truncated)

Commits
  • 858b1fb Rector 2.5.9
  • 0b1bf8f Updated Rector to commit 8b14eaa4ae390194eb499a9b003ec4754df93a0f
  • a88e754 Updated Rector to commit ad881a17abe083f4e08712ec7484068ce24a23ce
  • e687028 Updated Rector to commit fb1218da767d1b79b3fbad7dca9b0ea931fd35d1
  • 131cad7 Updated Rector to commit ab27b92faaab32e835f2b29791c59cb80fd29c56
  • 9f589db Updated Rector to commit b5b0f88119612be71aee5261c3e9dc2d683a1484
  • 2530409 Updated Rector to commit a4153d97936564a3f146e68462a071f5f1a57b7b
  • 2e0b1dd Updated Rector to commit 91f0ec8e2bee94f51a70378ffb26166a255b9964
  • b011347 Updated Rector to commit 8d1230149cf09bbb908fa712a2f5a62fce820950
  • 7273c05 Updated Rector to commit a0ad10f150d039cab666b7e87c5af6ad66d7055c
  • Additional commits viewable in compare view

Updates rector/type-perfect to 2.2.0

Release notes

Sourced from rector/type-perfect's releases.

Type Perfect 2.2.0 - Deprecated & merged into tomasvotruba/type-coverage

This package is deprecated

Keeping 2 very close packages up-to-date is daunting work and keep both behind. T Both focus with custom PHPStan rule on better type coverage and more precise and narrow types if available.

To improve support, the Type Perfect rules have been merged into tomasvotruba/type-coverage as of its 2.3.0 release. This is the final release of rector/type-perfect — it is marked abandoned in composer.json and Composer will now point you at the replacement on every install.

How to switch

1. Swap the package

 "require-dev": {
-    "rector/type-perfect": "^2.1"
+    "tomasvotruba/type-coverage": "^2.3"
 }
composer remove rector/type-perfect --dev
composer require tomasvotruba/type-coverage --dev

If you already use tomasvotruba/type-coverage, only remove rector/type-perfect — keeping both loads every rule twice.

Type Coverage requires PHP ^8.4; Type Perfect required ^8.2.

2. Keep your ignoreErrors as they are

The rules keep the Rector\TypePerfect\ namespace inside Type Coverage, so existing ignore patterns and PHPStan baselines still match. The extension is registered by phpstan/extension-installer, so no includes change is needed either.

3. Enable the rules that used to be on by default

NoParamTypeRemovalRule, NoIssetOnObjectRule and NoEmptyOnObjectRule reported right after install here. In Type Coverage they are opt-in like the rest of the set, one parameter each:

 parameters:
     type_perfect:
         narrow_param: true
         narrow_return: true
         no_mixed_property: true
         no_mixed_caller: true
         null_over_false: true
</tr></table> 

... (truncated)

Commits
  • 33d189f Deprecate package in favor of tomasvotruba/type-coverage (#78)
  • 255b323 NoArrayAccessOnObjectRule: Skip Symfony DomCrawler AbstractUriElement and chi...
  • bf9bd55 Prepare push repository logic to anywherephp/type-perfect (#75)
  • See full diff in compare view

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

…with 6 updates

Updates the requirements on [infection/infection](https://github.com/infection/infection), [nikic/php-parser](https://github.com/nikic/PHP-Parser), [phpstan/phpstan](https://github.com/phpstan/phpstan-phar-composer-source), [phpstan/phpstan-deprecation-rules](https://github.com/phpstan/phpstan-deprecation-rules), [rector/rector](https://github.com/rectorphp/rector) and [rector/type-perfect](https://github.com/rectorphp/type-perfect) to permit the latest version.

Updates `infection/infection` to 0.34.1
- [Release notes](https://github.com/infection/infection/releases)
- [Changelog](https://github.com/infection/infection/blob/master/CHANGELOG.md)
- [Commits](infection/infection@0.34.0...0.34.1)

Updates `nikic/php-parser` to 5.8.0
- [Release notes](https://github.com/nikic/PHP-Parser/releases)
- [Changelog](https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md)
- [Commits](nikic/PHP-Parser@v5.7.0...v5.8.0)

Updates `phpstan/phpstan` to 2.2.7
- [Commits](https://github.com/phpstan/phpstan-phar-composer-source/commits)

Updates `phpstan/phpstan-deprecation-rules` to 2.0.5
- [Release notes](https://github.com/phpstan/phpstan-deprecation-rules/releases)
- [Commits](phpstan/phpstan-deprecation-rules@2.0.4...2.0.5)

Updates `rector/rector` to 2.5.9
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.5.2...2.5.9)

Updates `rector/type-perfect` to 2.2.0
- [Release notes](https://github.com/rectorphp/type-perfect/releases)
- [Commits](rectorphp/type-perfect@2.1.4...2.2.0)

---
updated-dependencies:
- dependency-name: infection/infection
  dependency-version: 0.34.1
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: nikic/php-parser
  dependency-version: 5.8.0
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: phpstan/phpstan
  dependency-version: 2.2.7
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: phpstan/phpstan-deprecation-rules
  dependency-version: 2.0.5
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: rector/rector
  dependency-version: 2.5.9
  dependency-type: direct:development
  dependency-group: development-dependencies
- dependency-name: rector/type-perfect
  dependency-version: 2.2.0
  dependency-type: direct:development
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from mimmi20 as a code owner August 9, 2026 02:10
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 9, 2026
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
composer/infection/infection >= 0.34.1, < 0.35.0 UnknownUnknown
composer/phpstan/phpstan >= 2.2.7, < 3.0.0 UnknownUnknown
composer/phpstan/phpstan-deprecation-rules >= 2.0.5, < 3.0.0 UnknownUnknown
composer/phpstan/phpstan-phpunit >= 2.0.16, < 3.0.0 UnknownUnknown
composer/rector/rector >= 2.5.9, < 3.0.0 UnknownUnknown
composer/rector/type-perfect >= 2.2.0, < 3.0.0 UnknownUnknown

Scanned Files

  • composer.json

mimmi20
mimmi20 previously approved these changes Aug 9, 2026
@socket-security

socket-security Bot commented Aug 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcomposer/​phpstan/​phpstan-phpunit@​2.0.18.010010090100100

View full report

@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8be4ecc) to head (8cc14b5).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              master      #315   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        23        23           
===========================================
  Files              4         4           
  Lines             81        81           
===========================================
  Hits              81        81           
Flag Coverage Δ
php-8.3 100.00% <ø> (ø)
phpunit 100.00% <ø> (ø)
ubuntu-latest 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@mimmi20
mimmi20 merged commit a6cd8b3 into master Aug 9, 2026
66 checks passed
@mimmi20
mimmi20 deleted the dependabot/composer/development-dependencies-24c107bbc3 branch August 9, 2026 07:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant