build(deps): bump symfony/dependency-injection from 7.1.3 to 7.4.9#233
build(deps): bump symfony/dependency-injection from 7.1.3 to 7.4.9#233dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [symfony/dependency-injection](https://github.com/symfony/dependency-injection) from 7.1.3 to 7.4.9. - [Release notes](https://github.com/symfony/dependency-injection/releases) - [Changelog](https://github.com/symfony/dependency-injection/blob/8.1/CHANGELOG.md) - [Commits](symfony/dependency-injection@v7.1.3...v7.4.9) --- updated-dependencies: - dependency-name: symfony/dependency-injection dependency-version: 7.4.9 dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 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 PR updates symfony/dependency-injection to v7.4.9. While the primary dependency remains within the v7.x branch, the transitive dependency symfony/var-exporter has been bumped to v8.0.9.
This update introduces a critical breaking change: symfony/var-exporter v8.0.9 requires PHP 8.4 or higher. This will cause deployment or runtime failures if your environment is running PHP 8.2 or 8.3. This requirement should prevent merging unless the infrastructure is already updated to PHP 8.4.
About this PR
- The upgrade of
symfony/var-exportertov8.0.9introduces a hard requirement for PHP 8.4. This major version bump for a dependency is not highlighted in the PR description and constitutes a breaking change for projects on older PHP runtimes.
Test suggestions
- Verify dependency resolution and lock file integrity via
composer install. - Verify application boots and the DI container compiles successfully.
- Confirm compatibility with PHP 8.2 and 8.3, as
symfony/var-exporternow requires PHP 8.4.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify dependency resolution and lock file integrity via `composer install`.
2. Verify application boots and the DI container compiles successfully.
3. Confirm compatibility with PHP 8.2 and 8.3, as `symfony/var-exporter` now requires PHP 8.4.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
| }, | ||
| "require": { | ||
| "php": ">=8.2" | ||
| "php": ">=8.4" |
There was a problem hiding this comment.
🔴 HIGH RISK
The update to symfony/var-exporter v8.0.9 (line 956) raises the minimum PHP requirement to 8.4. This is a breaking change for projects supporting PHP 8.2 or 8.3.
If you do not intend to upgrade the infrastructure to PHP 8.4 immediately, you should restrict the platform PHP version in your composer.json to prevent the installation of v8 components:
- Update
composer.jsonto set the platform PHP version (e.g.,"php": "8.2.0") in theconfigsection. - Run
composer updateto reconcilecomposer.lockwith a compatible version (v7.x) ofsymfony/var-exporter.
Bumps symfony/dependency-injection from 7.1.3 to 7.4.9.
Release notes
Sourced from symfony/dependency-injection's releases.
... (truncated)
Changelog
Sourced from symfony/dependency-injection's changelog.
... (truncated)
Commits
27cd9f9Merge branch '6.4' into 7.44f66d60[DependencyInjection] Reject circular references through a factory builder's ...40b7c10minor #64004 [7.4] Remove usages of named arguments in tests (chalasr)621c5e0[7.4] Remove usages of named arguments in tests6fc5e85Merge branch '6.4' into 7.4e709fb3bug #64006 [DependencyInjection] Fix hidden dependency on symfony/config in P...4fc7627[DependencyInjection] Fix hidden dependency on symfony/config in PhpDumper61a8cc1Merge branch '6.4' into 7.43c09a77[DependencyInjection] Log every build parameter removed during compilationcc8db49Update XSD references in phpunit.xml.dist filesDependabot 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)