Skip to content

Commit 4926488

Browse files
committed
[LiveComponent] Force Foundry ^2.6 and get rid of deprecations on configuration
1 parent a78cf00 commit 4926488

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/LiveComponent/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"symfony/uid": "^5.4|^6.0|^7.0",
5454
"symfony/validator": "^5.4|^6.0|^7.0",
5555
"zenstruck/browser": "^1.2.0",
56-
"zenstruck/foundry": "^2.0"
56+
"zenstruck/foundry": "^2.6"
5757
},
5858
"conflict": {
5959
"symfony/config": "<5.4.0",

src/LiveComponent/tests/Fixtures/Kernel.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ protected function configureContainer(ContainerConfigurator $c): void
144144
]);
145145

146146
$c->extension('zenstruck_foundry', [
147-
'auto_refresh_proxies' => false,
147+
'persistence' => [
148+
'flush_once' => true,
149+
],
148150
]);
149151

150152
$doctrineConfig = [

0 commit comments

Comments
 (0)