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

Changed factoring-definition in DI to Symfony > 2.6 compatible syntax #993

Closed
wants to merge 1 commit into from

Conversation

fivetide
Copy link

factory-* syntax has been deprecated since Symfony 2.6, and removed in 3.0.
This PR fixes #987, and enables usage of SonataMediaBundle in Symfony >3.
Symfony <2.6 is not compatible anymore.

Credit goes to @LeoPelan, who posted this patch.

@@ -17,7 +17,7 @@
}
],
"require": {
"symfony/framework-bundle": "~2.3|~3.0",
"symfony/framework-bundle": "~2.6|~3.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Dropping sf < 2.6 support is huge BC-break

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't mind that comment, I probably did not see this was supposed to be major in the first place

@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@soullivaneuh
Copy link
Member

According to the new Sonata version management and next major release plan, this project has been refactored regarding branching and versioning.

If you see this message, your PR concerns a patch or a minor release and is not targeting the right branch.

So I'm closing this one, but don't see it as a refusal. If you think your work is still relevant and want to continue, feel free to reopen it on the right branch (e.g. the default one).

Regards.

@OskarStark
Copy link
Member

This is a valid major PR

@fivetide can you please add the default Header?

@greg0ire
Copy link
Contributor

greg0ire commented Jun 4, 2016

ping @fivetide

@soullivaneuh
Copy link
Member

This is a valid major PR

I'm sorry but it is not.

This could be done with a BC way.

Closing this one.

@fivetide A PR agains 3.x will be very welcome! 👍

@OskarStark
Copy link
Member

This could be done with a BC way.

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants