[Upgrade] Require PHP 8.1, allow Symfony 7 and modernize the PHPUnit config - #8
Merged
Merged
Conversation
Widen the Symfony component constraints to ^7.0, extend the DependencyInjection Extension base class (the HttpKernel one is deprecated) and add the return types Symfony 7 declares on ExtensionInterface::load() and ConfigurationInterface::getConfigTreeBuilder(). Rewrite phpunit.xml.dist with the PHPUnit 9 schema. Claude-Session: https://claude.ai/code/session_01AuWuMd1VYPjth1ncA6nQbi
nikophil
marked this pull request as ready for review
September 15, 2026 07:22
nikophil
requested review from
a team,
JulianosDeLaMancha,
LedruRomane,
amaurypc-mapado,
badaz,
bjulien,
celestialaly and
lnahiro
and removed request for
a team
September 15, 2026 07:54
lnahiro
approved these changes
Sep 15, 2026
LedruRomane
approved these changes
Sep 15, 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.
Comportement actuel
Le fork est plafonné à Symfony 6.4 et déclare
php >=5.4. L'extension DI étend une classe dépréciée en 7.1 et ses méthodes n'ont pas les types de retour que les interfaces Symfony 7 imposent (fatal au chargement).Nouveau comportement
Contraintes élargies à
|| ^7.0,php ^8.1, baseDependencyInjection\Extension\Extensionavecload(): voidetgetConfigTreeBuilder(): TreeBuilder,phpunit.xml.distau format PHPUnit 9. La suite de tests est rouge avant comme après (tests PHPUnit 4, gd absent) : hors périmètre.Tache Clickup
[Commun] Compatibilité des libs mapado/* avec les majeures cibles : https://app.clickup.com/t/86cbeagdm