Skip to content

[IT9PE1-29241] Allow Symfony 8 and DoctrineBundle 3 - #43

Merged
fguimier merged 1 commit into
mainfrom
florian_IT9PE1-29241_symfony-8-support
Aug 25, 2026
Merged

[IT9PE1-29241] Allow Symfony 8 and DoctrineBundle 3#43
fguimier merged 1 commit into
mainfrom
florian_IT9PE1-29241_symfony-8-support

Conversation

@fguimier

Copy link
Copy Markdown
Contributor

What

  • Widen all symfony/* requirements (require and require-dev) to ^7.0|^8.0.
  • Widen doctrine/doctrine-bundle to ^2.12|^3.0.

Why

Part of the Symfony 8 wave across assoconnect bundles, needed by the backend upgrade to Symfony 8.1.

The DoctrineBundle widening is not optional: DoctrineBundle 2.x caps Symfony at 7, so without it the highest-deps CI job would silently resolve Symfony 7.4 and the Symfony 8 side would never actually be tested. The bundle only uses AsDoctrineListener and the DoctrineBundle class, both unchanged in DoctrineBundle 3.

Test plan

Local gate in the open-source container (PHP 8.4), with the highest resolution actually installing Symfony 8.1.5 and DoctrineBundle 3:

  • composer validate --strict
  • vendor/bin/phpcs
  • vendor/bin/phpstan ✅ no errors
  • vendor/bin/phpunit ✅ 31 tests, 70 assertions (4 pre-existing PHPUnit notices, unrelated)

CI matrix (PHP 8.4/8.5 × lowest/highest) covers the Symfony 7 + DoctrineBundle 2 side.

Refs IT9PE1-29241

Shipping

Merging this PR ships nothing: it needs a semver tag / GitHub release, then a
composer require assoconnect/log-bundle:^x.y bump PR in the backend. Two reviews total.

DoctrineBundle 2.x caps Symfony at 7, so the highest-deps CI run
needs DoctrineBundle 3 to actually resolve Symfony 8.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@fguimier
fguimier merged commit d98ad31 into main Aug 25, 2026
5 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.

1 participant