sulu / sulu

Core framework that implements the functionality of the Sulu content management system
https://sulu.io
MIT License
1.13k stars 332 forks source link

Symfony 7 compatibililty #7413

Open alexander-schranz opened 2 months ago

alexander-schranz commented 2 months ago

Problem description

Bring Symfony 7 compatibility to Sulu 2.6.

Projects:

Add compatibility to Symfony 7, the bundles should still be compatible to PHP 8.0 and Sulu 2.5.

Proposed solution

Mostly upgrade and see what is failing and check such things where changed in Symfony 7 support for Sulu. Mostly bundles need also add support for doctrine/persistence 3 before they can upgrade to Symfony 6.4 / 7.0.

Compatibility Sulu Core:

Dependencies:

TheCadien commented 1 month ago

SuluHeadlessBundle Support: https://github.com/sulu/SuluHeadlessBundle/pull/139

TheCadien commented 1 month ago

SuluContentBundle: https://github.com/sulu/SuluContentBundle/pull/258

TheCadien commented 1 month ago

SuluCommentBundle: https://github.com/sulu/SuluCommentBundle/pull/53

alexander-schranz commented 1 month ago

Added also: https://github.com/php-task/php-task/ and https://github.com/php-task/TaskBundle to the list.

PS: we should keep all Sulu bundles compatible to PHP 8.0 and Sulu 2.5.

alexander-schranz commented 4 weeks ago

@TheCadien I updated https://github.com/sulu/SuluHeadlessBundle/pull/139 to show a better example how we can test current Pull Requests against Symfony 7 and also keep the supports for older Symfony and PHP versions. Which should not require newer versions if not really needed.

alexander-schranz commented 1 week ago

@TheCadien the core is merged which should make updating and testing the upgrade easier as we not longer need to set the fork.