From df53122381133f9c171c991e85421f7ebdd165cb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 11 Mar 2021 14:18:34 +0100 Subject: use devel mode to avoid missing proxy files --- php-bartlett-php-compatinfo-db-3-rpm.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'php-bartlett-php-compatinfo-db-3-rpm.patch') diff --git a/php-bartlett-php-compatinfo-db-3-rpm.patch b/php-bartlett-php-compatinfo-db-3-rpm.patch index 755d971..02033e7 100644 --- a/php-bartlett-php-compatinfo-db-3-rpm.patch +++ b/php-bartlett-php-compatinfo-db-3-rpm.patch @@ -126,3 +126,15 @@ diff -up ./tests/Reference/GenericTest.php.rpm ./tests/Reference/GenericTest.php self::$optionalreleases = []; +diff -up ./src/Infrastructure/Persistence/Doctrine/EntityManagerFactory.php.foo ./src/Infrastructure/Persistence/Doctrine/EntityManagerFactory.php +--- ./src/Infrastructure/Persistence/Doctrine/EntityManagerFactory.php.foo 2021-03-11 14:07:50.842278889 +0100 ++++ ./src/Infrastructure/Persistence/Doctrine/EntityManagerFactory.php 2021-03-11 14:07:53.649268435 +0100 +@@ -28,7 +28,7 @@ final class EntityManagerFactory + public static function create(array $connection, Cache $cache = null): EntityManagerInterface + { + $paths = [implode(DIRECTORY_SEPARATOR, [__DIR__, 'Entity'])]; +- $isDevMode = false; ++ $isDevMode = true; + $proxyDir = null; + $config = Setup::createAnnotationMetadataConfiguration($paths, $isDevMode, $proxyDir, $cache); + -- cgit