Skip to content

Conversation

@Chris53897
Copy link
Contributor

@Chris53897 Chris53897 commented Dec 22, 2025

i just noticed that it was already removed from the ci.

nyholm/symfony-bundle-test could be bumped to 3.1

Summary by CodeRabbit

  • Chores
    • Updated package version constraints to require modern versions of core dependencies.
    • Removed support for older dependency versions, ensuring compatibility with current releases.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 22, 2025

Walkthrough

The pull request updates composer.json to drop Symfony 5.4 support across production and development dependencies. Minimum versions are raised to Symfony 6.4 for all symfony packages, and nyholm/symfony-bundle-test is updated to ^3.1.

Changes

Cohort / File(s) Summary
Dependency version constraints
composer.json
Updated symfony/console, symfony/framework-bundle, and symfony/options-resolver in root require from ^5.4 || ^6.4 || ^7.0 || ^8.0 to ^6.4 || ^7.0 || ^8.0; updated 8 symfony packages in require-dev (cache, config, http-client, phpunit-bridge, validator, var-exporter, yaml) with same version constraint change; bumped nyholm/symfony-bundle-test from ^2.0 || ^3.0 to ^3.1

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Straightforward dependency constraint updates following a consistent pattern across all packages
  • No code logic or functional changes to review

Possibly related PRs

  • feat: allow symfony 8 #387: Updates Symfony dependency constraints to drop older versions and add Symfony 8 support, similar version constraint pattern changes to composer.json.

Suggested reviewers

  • norkunas

Poem

🐰 Version five has hopped away,
Symfony six is here to stay!
Dependencies updated bright,
Eight and seven shining right! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'feat: drop support for symfony < 6' directly and accurately describes the main change: removing support for Symfony versions below 6.0 across all dependencies.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6bee0c0 and 7e3b908.

📒 Files selected for processing (1)
  • composer.json
🔇 Additional comments (3)
composer.json (3)

20-22: Consistent Symfony version constraints updated across production dependencies.

The removal of Symfony 5.4 support is consistent across all production dependencies, aligning with the PR objective. Symfony 6.4 is an LTS version, making it a solid minimum requirement.


58-58: Clarify the rationale for ^3.1 constraint.

Version 3.0.0 supports Symfony ^5.4 || ^6.0 || ^7.0, which includes Symfony 6.4. Version 3.1.0 extends support to include ^8.0. Using ^3.0 would suffice for Symfony 6.4 support. If ^3.1 is intentional, confirm whether it's for Symfony 8.0 compatibility or another reason; otherwise, consider relaxing the constraint to ^3.0.


62-68: Symfony dev dependencies consistently updated to minimum Symfony 6.4.

All Symfony development dependencies have been updated to require version 6.4 or newer, maintaining alignment with the production dependencies. The required versions of symfony/cache, symfony/config, symfony/http-client, symfony/phpunit-bridge, symfony/validator, symfony/var-exporter, and symfony/yaml all require ^6.4 || ^7.0 || ^8.0 in the latest builds, confirming this change pattern is appropriate for the Symfony dependency updates.

Comment on lines +20 to +22
"symfony/console": "^6.4 || ^7.0 || ^8.0",
"symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0",
"symfony/options-resolver": "^6.4 || ^7.0 || ^8.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for CHANGELOG and UPGRADE documentation files

echo "=== Checking for CHANGELOG files ==="
fd -t f -i 'changelog' -E vendor -E node_modules 2>/dev/null || echo "No CHANGELOG found"

echo -e "\n=== Checking for UPGRADE files ==="
fd -t f -i 'upgrade' -E vendor -E node_modules 2>/dev/null || echo "No UPGRADE found"

echo -e "\n=== Checking for README files ==="
fd -t f 'README*' -E vendor -E node_modules 2>/dev/null | head -10

echo -e "\n=== Examining composer.json structure ==="
head -100 composer.json

Repository: geocoder-php/BazingaGeocoderBundle

Length of output: 3397


🏁 Script executed:

#!/bin/bash
# Check CHANGELOG.md content - look for Symfony 5.4 removal documentation
echo "=== CHANGELOG.md content (first 150 lines) ==="
head -150 CHANGELOG.md

echo -e "\n=== Checking for Unreleased section or version 6.0 ==="
grep -A 20 -i "unreleased\|^## \[6\|^## 6" CHANGELOG.md | head -40

echo -e "\n=== Checking README.md for version requirements ==="
grep -i "symfony\|version\|requirement" README.md | head -20

Repository: geocoder-php/BazingaGeocoderBundle

Length of output: 2816


🏁 Script executed:

#!/bin/bash
# Check for more comprehensive CHANGELOG content, especially looking for 6.0 or unreleased entries
echo "=== Full CHANGELOG.md (checking for version 6.0 or Unreleased entries) ==="
grep -i "^## \|^# " CHANGELOG.md

echo -e "\n=== Checking line count and structure of CHANGELOG.md ==="
wc -l CHANGELOG.md

echo -e "\n=== Check for any mentions of Symfony 5 removal ==="
grep -i "symfony 5\|remove.*symfony\|drop.*symfony" CHANGELOG.md

echo -e "\n=== README.md - full check for requirements/version info ==="
cat README.md | head -80

Repository: geocoder-php/BazingaGeocoderBundle

Length of output: 3057


Document the breaking change in CHANGELOG.md before merging.

This PR removes Symfony 5.4 support, which is a breaking change that impacts users currently on older versions. The version 6.0 entry must be added to CHANGELOG.md documenting the minimum Symfony version requirement change from ^5.4 to ^6.4. Consider creating an UPGRADE.md guide to help users migrate from version 5.x to 6.0.

🤖 Prompt for AI Agents
In composer.json around lines 20 to 22, the dependency change removes Symfony
5.4 support which is a breaking change; update CHANGELOG.md by adding a "v6.0"
(or "6.0.0") entry that explicitly documents the minimum Symfony requirement
change from ^5.4 to ^6.4 and describes the impact for users, and create an
UPGRADE.md (or add a section) with concise migration steps and notable
incompatibilities for upgrading from 5.x to 6.0; commit both files alongside
this PR before merging.

@norkunas norkunas merged commit b4d25cc into geocoder-php:master Dec 23, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants