]> Raphaël G. Git Repositories - blog/commitdiff
Recipe symfony/framework-bundle update
authorRaphaël Gertz <git@rapsys.eu>
Wed, 25 Nov 2026 17:04:24 +0000 (18:04 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 25 Nov 2026 17:04:24 +0000 (18:04 +0100)
.env
config/preload.php
public/index.php
symfony.lock

diff --git a/.env b/.env
index 73d1be293d4c01fab2603fdaf8c67e1497cb75a4..03070106441afa45fcb132464ddcd868178a327b 100644 (file)
--- a/.env
+++ b/.env
@@ -17,6 +17,7 @@
 ###> symfony/framework-bundle ###
 APP_ENV=dev
 APP_SECRET=
+APP_SHARE_DIR=var/share
 ###< symfony/framework-bundle ###
 
 ###> doctrine/doctrine-bundle ###
index 5ebcdb2153c870e7d915f3b3fcdd55821424284c..14cee661e3b102e3726eb9b505a6329912ffdef6 100644 (file)
@@ -1,5 +1,5 @@
 <?php
 
-if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
-    require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
+foreach (glob(dirname(__DIR__).'/var/cache/prod/*.preload.php') ?: [] as $file) {
+    require $file;
 }
index 9982c218d6969c72d4c91e3834e3f535e2dfe68b..c0037a8db4a454268d8c843a351964bed75d0df2 100644 (file)
@@ -4,6 +4,6 @@ use App\Kernel;
 
 require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
 
-return function (array $context) {
+return static function (array $context) {
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
 };
index 9e8d2f8fd167dba6078b96fd427243d17bf01700..de4ee88971c684154359c8bebf961f191540663d 100644 (file)
         ]
     },
     "symfony/framework-bundle": {
-        "version": "7.3",
+        "version": "7.4",
         "recipe": {
             "repo": "github.com/symfony/recipes",
             "branch": "main",
-            "version": "7.3",
-            "ref": "5a1497d539f691b96afd45ae397ce5fe30beb4b9"
+            "version": "7.4",
+            "ref": "5ea2ed9cd29ca8fc2cb9bca9cb7b7e0a8d2be1dc"
         },
         "files": [
             ".editorconfig",