-
Notifications
You must be signed in to change notification settings - Fork 803
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
PHP 7.2+ - Doctrine to 2.6.3 #1989
Conversation
I noticed you deleted |
@bcremer Agreed. Back then, you apparently already put in a lot of effort; and with the new version, there's still no better solution. I'll be updating the files, though. Coming right up. |
For future reference: https://gitter.im/shopware/shopware?at=5c4833abc45b986d11a6e9a6
I will be removing any PHP 7.2 requirement. |
Just here to point out: You've sparked a new internal discussion, @EtienneBruines, if it is really worth a hack to support a PHP version that will only be around for about half a year before it is deprecated. So the last word on this hasn't been spoken, I'll get back to you soon. |
my vote for minimum PHP 7.2 👍 |
Our prayers have been heard! Shopware 5.6 will have PHP 7.2 as a minimum requirement, @EtienneBruines! |
b5028b5
to
f8b8f37
Compare
I am unfortunately unable to locate the issue.
#help-needed |
Hey @EtienneBruines, this seems to be an issue with our 5.6 branch at the moment, so don't worry, we're taking care of it. :-) Yet, please squash your commits. |
4207efa
to
1d7945f
Compare
It should be ready now 😄 |
Updates doctrine/orm to 2.6.3 and ocramius/proxy-manager to 2.2.2. Due to dependencies, we have to be PHP 7.2 at least. For a test-case: Fixed expectedException to InvalidArgument. Doctrine decided to no longer throw its own Exception. Within the Article Resource: Fixed overwriting of Configurator\Group options. It is a good thing Options get added to the Group, because the Group or the Options might be new - but it should not overwrite the Options that are associated with the Group, that are not associated with the current Article.
16ff166
to
d322780
Compare
Hello, thank you for creating this pull request. Please use this issue to track the state of your pull request. |
Updates doctrine/orm to 2.6.3 and ocramius/proxy-manager to 2.2.2. Due to dependencies, we have to be PHP 7.2 at least. For a test-case: Fixed expectedException to InvalidArgument. Doctrine decided to no longer throw its own Exception. Within the Article Resource: Fixed overwriting of Configurator\Group options. It is a good thing Options get added to the Group, because the Group or the Options might be new - but it should not overwrite the Options that are associated with the Group, that are not associated with the current Article. fixes #1989
Hi @EtienneBruines, thank you very much for this contribution! 🎉 💙 |
Let's just see if the tests run on the CI server and if any doctrine-related issues occur.
1. Why is this change necessary?
The current version of doctrine is not compatible with PHP 7.3, due to
See also doctrine/orm#7325
The same goes for
zendframework/zend-code
. The latest version ofzend-code
is supported byocramius/proxy-manager
at 2.2.0, but that one requires PHP 7.2. So we require PHP 7.2 or above. 🎉2. What does this change do, exactly?
php
to7.2
doctrine/orm
to2.6.3
ocramius/proxy-manager
to2.2.2
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist