mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Cache problem with php 7.1 nullable types #5385
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kearny on GitHub (Jan 15, 2017).
Originally assigned to: @Ocramius on GitHub.
Doctrine cache generator doesn't report the nullable option : check the following print screen :
public function getPhone(): ?stringbecome
public function getPhone(): stringwhich is a problem.
Thanks for taking care of that, and thanks for the great job done with doctrine !
@Ocramius commented on GitHub (Jan 15, 2017):
Make sure that you re-generate the proxies once you upgraded to
doctrine/common2.7.*. This was already fixed ;-)@Kearny commented on GitHub (Jan 15, 2017):
Hey, thanks for the answer. I use doctrine with symfony but I can't see a doctrine/common in my composer.json. Is it this that I should change ?
"doctrine/orm" : "^2.5"@Ocramius commented on GitHub (Jan 15, 2017):
Just run a
composer updateand check yourcomposer.lockfor the installeddoctrine/commonversion.@Kearny commented on GitHub (Jan 15, 2017):
I don't have anything updated for now, based on composer.lock I stick with "version": "v2.6.2".
I guess I just should wait.
@Ocramius commented on GitHub (Jan 15, 2017):
Please do check the version you have installed, before reporting an issue ;-)
@Kearny commented on GitHub (Jan 15, 2017):
Yes sorry.