From 3e906a6b51d9b1d1ac81fb273bb98540c6f533eb Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 8 Jul 2019 15:12:21 +0200 Subject: [PATCH] Fix #32396 The src/Symfony/Bridge/Doctrine/Form/DoctrineOrmTypeGuesser.php implements the FormTypeGuesserInterface and that interface is only defined in the symfony/form component. By implementing that interface that code depends on it not only for test but also in production use. We discovered it because we have an api which doesn't require symfony form who blew up with the update to php 7.2.20. The release of php 7.2.20 fixed a bug that was allowing the implementation of interface that are not available. --- src/Symfony/Bridge/Doctrine/composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bridge/Doctrine/composer.json b/src/Symfony/Bridge/Doctrine/composer.json index 420535b7516fd..a55540c80a6ec 100644 --- a/src/Symfony/Bridge/Doctrine/composer.json +++ b/src/Symfony/Bridge/Doctrine/composer.json @@ -19,12 +19,12 @@ "php": "^5.5.9|>=7.0.8", "doctrine/common": "~2.4", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.0" + "symfony/polyfill-mbstring": "~1.0", + "symfony/form": "^3.3.10|~4.0" }, "require-dev": { "symfony/stopwatch": "~2.8|~3.0|~4.0", "symfony/dependency-injection": "~3.4|~4.0", - "symfony/form": "^3.3.10|~4.0", "symfony/http-kernel": "~2.8|~3.0|~4.0", "symfony/property-access": "~2.8|~3.0|~4.0", "symfony/property-info": "~2.8|3.0|~4.0",