From ff3d29b65c8bd5e0004cb82695fcfd71df068c28 Mon Sep 17 00:00:00 2001 From: Aleksey Polyvanyi Date: Tue, 26 Nov 2024 16:14:20 +0100 Subject: [PATCH] use `kernel.build_dir` by default for proxy --- src/DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 06cf3dbd..de1f4367 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -511,7 +511,7 @@ private function addOrmSection(ArrayNodeDefinition $node): void ->defaultValue(! method_exists(ProxyFactory::class, 'resetUninitializedProxy')) ->info('Enables the new implementation of proxies based on lazy ghosts instead of using the legacy implementation') ->end() - ->scalarNode('proxy_dir')->defaultValue('%kernel.cache_dir%/doctrine/orm/Proxies')->end() + ->scalarNode('proxy_dir')->defaultValue('%kernel.build_dir%/doctrine/orm/Proxies')->end() ->scalarNode('proxy_namespace')->defaultValue('Proxies')->end() ->arrayNode('controller_resolver') ->canBeDisabled()