Skip to content
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 #59

Merged

Conversation

alexander-schranz
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes -
Related issues/PRs -
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Update recipes to newest versions, so new sulu installations get configuration from symfony 5.

Why?

Add support for symfony 5.

To Do

  • Create a documentation PR
  • Create PR for sulu/sulu test skeleton

@@ -1,22 +0,0 @@
<?php
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bootstrap file was removed and replaced in symfony 5.1 by a new DotEnv->bootEnv method.

@alexander-schranz alexander-schranz force-pushed the feature/symfony-5-recipe-update branch 4 times, most recently from 64ed106 to 40be239 Compare June 8, 2020 17:36
"dantleech/phpcr-migrations-bundle": "^1.0",
"doctrine/doctrine-bundle": "^1.10 || ^2.0",
"dantleech/phpcr-migrations-bundle": "^1.2",
"doctrine/doctrine-bundle": "^2.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed with @chirimoya as the recipes only match the new version we will require the newest symfony package versions in the skeleton for new projects.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not really a BC break, because existing projects don't necessarily have to update, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is not a BC Break, the skeleton should from my side always represent how a new project should look like.

@alexander-schranz alexander-schranz force-pushed the feature/symfony-5-recipe-update branch 3 times, most recently from 823c764 to ed253ba Compare June 8, 2020 17:41
@alexander-schranz
Copy link
Member Author

Currently the CI is failing because of:

symfony/symfony#37166

We could currently work around by inlining the event name and not using the parameter:

massiveart/MassiveSearchBundle#146

@danrot danrot merged commit e9e7057 into sulu:release/2.1 Jun 9, 2020
@alexander-schranz alexander-schranz deleted the feature/symfony-5-recipe-update branch June 9, 2020 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants