Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b3fcf9c

Browse files
committed
update to doctrine 2.4
needed for compatibility with PHP >= 7.0 to fix a bug in andWhere(). it built a query that contains itself, which crashed from infinite recursion when executed. fixed in 2.5: doctrine/orm#1164 different fix in 2.4: doctrine/orm#1142 updating directly to doctrine 2.5 might also work, but it is not 100% backwards compatible. for now i only did the minimum necessary update. maybe later. https://web.archive.org/web/20170521161209/http://docs.doctrine-project.org/en/latest/changelog/migration_2_5.html https://www.doctrine-project.org/2015/04/02/orm-2-5-0.html
1 parent eae15b7 commit b3fcf9c

2 files changed

Lines changed: 44 additions & 37 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"require": {
1212
"php": ">=5.3.3",
1313
"symfony/symfony": "2.8.*",
14-
"doctrine/orm": ">=2.2.3,<2.4-dev",
14+
"doctrine/orm": "~2.4.5",
1515
"doctrine/doctrine-bundle": "1.2.*",
1616
"twig/extensions": "1.0.*",
1717
"symfony/assetic-bundle": "2.3.*",

composer.lock

Lines changed: 43 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)