Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DDC-3120 - Using
ReflectionClass#newInstanceWithoutConstructor()
al…
…so with PHP 5.6+
- Loading branch information
a69584a
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.
Is it possible to add this change to the 2.3 branch ?
a69584a
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.
Nope: not a security fix
a69584a
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.
OK, I understand.
So that's a problem for Symfony 2.3 that is a LTS version. It's no more working with PHP 5.6.
a69584a
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.
@loicfavory This change is in Doctrine, not in Symfony. So the Symfony 2.3 LTS has nothing to do with it.
Doctrine 2.3 is not a LTS. It is not receiving bug fixes anymore, only security patches.
a69584a
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.
@stof Yes, I understand. But how can I update a Symfony 2.3 project on a server running PHP5.6 ? Can I set my project to use doctrine 2.4 in composer.json without risk ?
a69584a
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.
a69584a
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.
@Ocramius Ok, thanks. I think my production servers will stay in PHP 5.4 until I upgrade Symfony to the next LTS in february.
a69584a
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.
@loicfavory Symfony 2.3 can perfectly be used with Doctrine 2.4 though
a69584a
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.
@stof thanks for your answer, I'll try it on a non critical project.