chore: widen dependencies to support latest packages (2026-03-18)#12
Merged
zakhar-huzenko merged 4 commits intodevelopfrom Mar 18, 2026
Merged
Conversation
Co-authored-by: Zakhar <zahar.guzenko@gmail.com>
Co-authored-by: Zakhar <zahar.guzenko@gmail.com>
Co-authored-by: Zakhar <zahar.guzenko@gmail.com>
Co-authored-by: Zakhar <zahar.guzenko@gmail.com>
Yozhef
approved these changes
Mar 18, 2026
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
Widened runtime Symfony constraints to include latest stable major (
^8.0) while preserving existing supported majors; bumped dev tooling constraints to current stable majors; added compatibility fixes for PHPCS 4 config and Symfony bundle signature compatibility.Updated packages
symfony/configsymfony/dependency-injectionsymfony/http-kernelsymfony/routingsymfony/event-dispatchersymfony/browser-kit^6.0-> `^6.4symfony/yamlsymfony/framework-bundlephpunit/phpunit^10.5->^12.5squizlabs/php_codesniffer^3.8->^4.0phpstan/phpstan-symfonyRelease-notes / changelog summary
symfony/*(7.x -> 8.x support): Symfony 8.0 requires PHP >= 8.4 and removes deprecated APIs retained in 7.4; package constraints are widened to allow 8.x while preserving 6.4/7.x compatibility.phpunit/phpunit(10.x -> 12.x): PHPUnit 12 removes previously deprecated APIs (including legacy mock helpers) and raises baseline to PHP 8.3.squizlabs/php_codesniffer(3.x -> 4.x): PHPCS 4 contains breaking changes and requires updated ruleset syntax for array properties.phpstan/phpstan-symfony(1.x -> 2.x): 2.0 release removes legacy config options and tracks newer PHPStan APIs.Compatibility code/config changes (no consumer API removals)
phpcs.xml.distforbidden-functions array property to PHPCS 4<element .../>format.: voidreturn type toDeprecatedRoutesBundle::build()to match Symfony Bundle contract in newer versions and satisfy static analysis.Validation results
Latest dependency set
composer update✅vendor/bin/phpunit✅ (suite passes; existing risky-test notices remain)vendor/bin/phpstan analyse✅vendor/bin/phpcs✅Lowest dependency set
composer update --prefer-lowest✅rm -rf var/cache/test && vendor/bin/phpunit✅BC checker
vendor/bin/roave-backward-compatibility-checknot available in this repository.Blocked packages
CI follow-up
DeprecatedRoutesBundle::build()return type with parent signature (void).