You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Hello. I'm using the latest tag of sf 3.4, "doctrine/doctrine-bundle": "^1.10", and "doctrine/orm": "^2.5".
I'm on these versions of doctrine due fact of php still in version 7.0.* in our server
Doing composer outdated, it shows me this package, that could be possible updated from v1.0.1 to v1.0.2.
My question is,will I have problems updating this package to newest version since it only requires php version superior to 7.2?
Thanks.
The reason will be displayed to describe this comment to others. Learn more.
The upcoming 1.1.0 release will drop support for PHP < 7.2, but the newly released 1.0.2 version still does. When it’s time to upgrade to 1.1.0, composer will figure out whether that version is eligible (e.g. if you’re running composer update on PHP 7.2 or newer). We’ve explained this a while back in our blog: https://www.doctrine-project.org/2017/07/25/php-7.1-requirement-and-composer.html
The reason will be displayed to describe this comment to others. Learn more.
@alcaeus , thanks. So as I understand, and from your link, even if I update this package, I won't have any problems even running with php 7.0, right? I've run composer update and it let update the package on my dev machine. My thing is that if I will have any surprise when using the application. For now, I'm not having any issue..
The reason will be displayed to describe this comment to others. Learn more.
If you are running 7.0 on your dev machine or have the correct platform config in composer.json, everything will work as expected. If you run 7.2 locally and try to deploy to 7.0, don’t.
5576f70
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.
Hello. I'm using the latest tag of sf 3.4, "doctrine/doctrine-bundle": "^1.10", and "doctrine/orm": "^2.5".
I'm on these versions of doctrine due fact of php still in version 7.0.* in our server
Doing composer outdated, it shows me this package, that could be possible updated from v1.0.1 to v1.0.2.
My question is,will I have problems updating this package to newest version since it only requires php version superior to 7.2?
Thanks.
5576f70
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.
This commit wasn't part of the 1.0.2 release.
5576f70
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.
@xabbuh , sorry, I didn't understand.
5576f70
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.
The upcoming 1.1.0 release will drop support for PHP < 7.2, but the newly released 1.0.2 version still does. When it’s time to upgrade to 1.1.0, composer will figure out whether that version is eligible (e.g. if you’re running composer update on PHP 7.2 or newer). We’ve explained this a while back in our blog: https://www.doctrine-project.org/2017/07/25/php-7.1-requirement-and-composer.html
5576f70
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.
@alcaeus , thanks. So as I understand, and from your link, even if I update this package, I won't have any problems even running with php 7.0, right? I've run composer update and it let update the package on my dev machine. My thing is that if I will have any surprise when using the application. For now, I'm not having any issue..
5576f70
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.
If you are running 7.0 on your dev machine or have the correct platform config in composer.json, everything will work as expected. If you run 7.2 locally and try to deploy to 7.0, don’t.
5576f70
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.
Thanks @alcaeus. Yes, indeed I'm running 7.0.* on dev and in prod env. Even package was updated, it seems is not using >= 7.3 code