8000 [AnnotationCacheWarmer] add RedirectController to annotation cache · symfony/symfony@6b6c246 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b6c246

Browse files
jenschudenicolas-grekas
authored andcommitted
[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
1 parent ff194d9 commit 6b6c246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<argument type="service" id="annotations.reader" />
3838
<argument>%kernel.cache_dir%/annotations.php</argument>
3939
<argument type="service" id="cache.annotations" />
40-
<argument>#^Symfony\\(?:Component\\HttpKernel\\|Bundle\\FrameworkBundle\\Controller\\(?!AbstractController$|Controller$))#</argument>
40+
<argument>#^Symfony\\(?:Component\\HttpKernel\\|Bundle\\FrameworkBundle\\Controller\\(?!.*Controller$))#</argument>
4141
<argument>%kernel.debug%</argument>
4242
</service>
4343

0 commit comments

Comments
 (0)
0