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

Support Symfony 3 #347

Merged
merged 12 commits into from
May 6, 2016
Merged

Support Symfony 3 #347

merged 12 commits into from
May 6, 2016

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Apr 7, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets #317
License MIT
Doc PR -

Created a new branch, so I don't have to rebase a branch that's used by people already.

hacfi and others added 2 commits April 7, 2016 20:22
…Sonata dependencies, use parentDocument in Admin classes, update route_basepaths in tests
@wouterj wouterj added the wip/poc label Apr 7, 2016
@@ -3,4 +3,4 @@ cmf_routing:
persistence:
phpcr:
enabled: true
route_basepath: /test/routing
route_basepaths: /test/routing
Copy link
Member

Choose a reason for hiding this comment

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

should this be an [ 'array' ] ? I know that we probably support scalars, but I think its better to treat a plural as a plural.

Copy link
Member

Choose a reason for hiding this comment

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

not sure. it does not cost us much to convert string to array here for when you have only one path. @wouterj what do you think is better DX? do we create confusion by allowing single value or is it convenient?

@dbu
Copy link
Member

dbu commented Apr 8, 2016

hm, why is travis-ci not looking at this?

if this is all it takes, i wonder if we could support symfony 3 with a routing bundle 1.x . should we branch alias to 1.5 and aim to release an 1.5.0 as soon as symfony 3 support is solid?

@dbu
Copy link
Member

dbu commented Apr 8, 2016

i mean: i don't see any BC breaks in this PR, this is what made me think we could have an 1.x release of this.

@wouterj
Copy link
Member Author

wouterj commented Apr 8, 2016

Hmm, indeed, @dbu. However, there is a problem: None of the dev (optional) dependencies support Symfony 3. This means that we can't run the functional and webtests with Symfony 3. It also means that people can't use the admin integration, etc.

If no other CMF bundle supports Symfony 3, does it make sense to support Symfony 3 in this bundle?

@dbu
Copy link
Member

dbu commented Apr 8, 2016 via email

@wouterj
Copy link
Member Author

wouterj commented Apr 8, 2016

Please note that for Symfony 3 support, people can require dev-symfony3 as their version constraint btw.

@dbu
Copy link
Member

dbu commented Apr 8, 2016

can we fix styleci too?

@wouterj
Copy link
Member Author

wouterj commented Apr 9, 2016

I now got all tests working on Symfony 3 locally. This requires sonata-project/SonataAdminBundle#3709 and sonata-project/SonataDoctrinePhpcrAdminBundle#367 to be merged first.

@dbu
Copy link
Member

dbu commented May 2, 2016

sonata-project/SonataDoctrinePhpcrAdminBundle#367 is merged, is this now ready? i restarted the PR build.

@wouterj
Copy link
Member Author

wouterj commented May 2, 2016

I'll try to merge most of the open Sf3 PR this evening

@lsmith77 lsmith77 added review and removed wip/poc labels May 4, 2016
@wouterj wouterj force-pushed the support-sf3 branch 2 times, most recently from 2ded1ed to 11ddf01 Compare May 6, 2016 13:12
@wouterj wouterj force-pushed the support-sf3 branch 2 times, most recently from 560fc0f to ccbda26 Compare May 6, 2016 20:56
@wouterj wouterj merged commit 243b1e8 into master May 6, 2016
@wouterj wouterj deleted the support-sf3 branch May 6, 2016 21:19
@wouterj wouterj removed the review label May 6, 2016
@wouterj
Copy link
Member Author

wouterj commented May 6, 2016

It took a bit longer, but the road to Symfony 3 support is now officially open :)

@dbu
Copy link
Member

dbu commented May 9, 2016 via email

@wachterjohannes
Copy link

@dbu will there be progess for 1.x series? in the future?

@dbu
Copy link
Member

dbu commented Dec 2, 2016

we try to get the 2.0 versions out of the door. at that point we will not spend time on 1.x anymore, we don't have the resources. as far as i can see, 2.0 will however still support symfony 2.8

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.

6 participants