-
Notifications
You must be signed in to change notification settings - Fork 277
Remove direct dependencies on doctrine/common #582
Remove direct dependencies on doctrine/common #582
Conversation
I guess |
Yep, this forces PHP7.1 or higher. We'll have to bump the major version here to do this change. |
Ok so my work here is done ? :) |
If you can update the Travis matrix, that's still todo :) |
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.
(requires a major version bump, isn't it? and maybe waiting for Doctrine ORM 2.7 to be tagged?)
I guess, because it forces PHP7.1. |
Upping the php requirement does not require a new major version as it does not break bc. |
It breaks the continuous migration path by forcing ppl to change two pieces of the infra at the same time (version of PHP + version of the package.) |
They can update the php version without changing the SensioFrameworkExtraBundle. But this topic has been discussed alot of times. https://semver.org/#what-should-i-do-if-i-update-my-own-dependencies-without-changing-the-public-api |
@@ -15,7 +15,9 @@ | |||
"symfony/framework-bundle": "^3.4|^4.0", | |||
"symfony/dependency-injection": "^3.3|^4.0", | |||
"symfony/http-kernel": "^3.3|^4.0", | |||
"doctrine/common": "^2.2" | |||
"doctrine/collections": "~1.0", | |||
"doctrine/event-manager": "~1.0", |
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.
does this bundle really use the Doctrine events ? AFAIK, it uses doctrine/annotations
(missing here) and doctrine/persistence
"doctrine/common": "^2.2" | ||
"doctrine/collections": "~1.0", | ||
"doctrine/event-manager": "~1.0", | ||
"doctrine/persistence": "~1.0" |
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.
should use the caret operator for consistency.
@Tobion I'm not talking about semver but about the policy we have in Symfony. We have a pretty good track record over years of bumping PHP on major versions only. I don't see a reason to stop it now here. |
I didn't know of this policy. At least in https://github.com/symfony/monolog-bundle/releases/tag/v3.3.0 it was violated then. |
this one dropped support for EOLed PHP versions only. PHP 5.6 is not EOL yet |
Does this mean we can't merge this until EOL of PHP 5.6? Looks like that is at the end of the month? I'm getting warnings related to Doctrine's class loader in my message consumer and they are annoying since I cannot do anything about them. :( Is there anything else that needs to be done on this PR to keep it from being merged on January 1st? :) Happy to see if I can pitch in on that if there is more to do. |
this bundle is not using Doctrine ClassLoader. So this PR won't change that fact. |
I've finished the work in #612 |
Removing deprecated doctrine/common.
https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues/580#issuecomment-408376379