diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-11 14:18:34 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-11 14:18:34 +0100 |
commit | df53122381133f9c171c991e85421f7ebdd165cb (patch) | |
tree | 325d6087e86083ef846773ffb8fb51cf9e9f7d76 /php-bartlett-php-compatinfo-db-3-rpm.patch | |
parent | e56a82b4a9721a796fdd2b92be3e15a4a2863bcd (diff) |
use devel mode to avoid missing proxy files
Diffstat (limited to 'php-bartlett-php-compatinfo-db-3-rpm.patch')
-rw-r--r-- | php-bartlett-php-compatinfo-db-3-rpm.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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); + |