Skip to content

Commit 9d32d77

Browse files
committed
Actually configure proxy generation
Since forever, we've never used the right key for config :'(
1 parent d73c054 commit 9d32d77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

config/autoload/doctrine.global.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
'orm_default' => [
4141
'naming_strategy' => Doctrine\ORM\Mapping\UnderscoreNamingStrategy::class,
4242
'proxy_dir' => getcwd() . '/data/cache/DoctrineORMModule/Proxy',
43-
'generate_proxies' => false,
43+
'auto_generate_proxy_classes' => Doctrine\ORM\Proxy\ProxyFactory::AUTOGENERATE_NEVER,
4444
'filters' => [
4545
Ecodev\Felix\ORM\Query\Filter\AclFilter::class => Ecodev\Felix\ORM\Query\Filter\AclFilter::class,
4646
],

config/development.config.php.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ return [
3232
'doctrine' => [
3333
'configuration' => [
3434
'orm_default' => [
35-
'generate_proxies' => true,
35+
'auto_generate_proxy_classes' => Doctrine\ORM\Proxy\ProxyFactory::AUTOGENERATE_ALWAYS,
3636
],
3737
],
3838
],

0 commit comments

Comments
 (0)