Skip to content

[Upgrade] Require PHP 8.1, allow Symfony 7 and modernize the PHPUnit config - #8

Merged
nikophil merged 2 commits into
mainfrom
np--symfony-7-doctrine-3
Sep 15, 2026
Merged

nikophil merged 2 commits into
mainfrom
np--symfony-7-doctrine-3

Conversation

@nikophil

Copy link
Copy Markdown
Contributor

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, base DependencyInjection\Extension\Extension avec load(): void et getConfigTreeBuilder(): TreeBuilder, phpunit.xml.dist au 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

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
nikophil marked this pull request as ready for review September 15, 2026 07:22
@nikophil
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
@nikophil
nikophil merged commit 443f977 into main Sep 15, 2026
@nikophil
nikophil deleted the np--symfony-7-doctrine-3 branch September 15, 2026 12:51
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