From 6b6c246c723a12e1f1510c5e01706cbf63b19c2c Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Tue, 1 Oct 2019 10:34:38 +0200 Subject: [PATCH] [AnnotationCacheWarmer] add RedirectController to annotation cache This prevents to exclude the RedirectController from the warmed annotation cache which would lead to warnings when trying to use the warmed cache on read only file systems See #29357 --- .../Bundle/FrameworkBundle/Resources/config/annotations.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml b/src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml index 02104ba26015..9403917ff584 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml @@ -37,7 +37,7 @@ %kernel.cache_dir%/annotations.php - #^Symfony\\(?:Component\\HttpKernel\\|Bundle\\FrameworkBundle\\Controller\\(?!AbstractController$|Controller$))# + #^Symfony\\(?:Component\\HttpKernel\\|Bundle\\FrameworkBundle\\Controller\\(?!.*Controller$))# %kernel.debug%