-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Symfony 5 / admin 4 #641
Conversation
bb8c255
to
7e0ea33
Compare
Thanks for your review, @jordisala1991 ! |
Can you edit the workflow file? You need to add symfony 5.3 and 5.4. It will need also a dev-kit PR, but we would like to see if all the build pass. It would also be nice if you try to add symfony 6.0 to the composer.json too (and on the workflow file) |
Is the build variant for sonata-project/block-bundle:"3.*" still relevant? If not, I think I need to create a PR on devkit. |
friendsofsymfony/ckeditor-bundle is not ready for Symfony 6. |
It's not relevant, we cannot support both sonata admin 3 and 4. And Sonata admin 4 only use block 4. |
There will be FriendsOfSymfony/FOSCKEditorBundle#239 to follow |
Merged, but their looking for a maintainer... |
Perhaps we should not wait for a new release for the CKEditor bundle and add support for Symfony 5 now, and Symfony 6 when CKEditor is updated. |
Can you open a dev-kit PR with the needed changes too? |
The dev-kit PR has been created. |
@@ -48,7 +48,7 @@ public function testExecute(): void | |||
/** | |||
* @group legacy | |||
*/ | |||
public function testExecuteWithDeprecatedTeamplating(): void | |||
public function testExecuteWithDeprecatedTemplating(): void | |||
{ | |||
if (!class_exists('Sonata\BlockBundle\Block\Service\AbstractAdminBlockService')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test can be removed if we remove the support of block bundle 3
Done. I see two more tests marked |
Seems like there is more tests with group legacy https://github.com/sonata-project/SonataFormatterBundle/search?q=legacy ; at least on the default branch. I don't have the project locally to check if there is more. For tests without next major comment, the question would be to know why there is a group legacy. If you know why and it's not needed anymore you can remove the group. Anyway it can still be done in another PR. The stable release will be done after
|
I'm working on the 5.x branch and all the NEXT_MAJOR comments have been addressed. This leaves 2 legacy groups:
|
I've merge the dev-kit PR and this one but a new PR to remove the legacy group is welcomed. Also, if you wanna work on the stable release of 5.0, it's welcomed too. We (@jordisala1991 and I) can help you about the TODO-list. |
Subject
Add support for Symfony 5, Sonata Admin 4, Twig 3.
Closes #463.
Changelog
To do