10000 bug #33781 [AnnotationCacheWarmer] add RedirectController to annotati… · symfony/symfony@db9ef8a · GitHub
[go: up one dir, main page]

Skip to content

Commit db9ef8a

Browse files
bug #33781 [AnnotationCacheWarmer] add RedirectController to annotation cache (jenschude)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #33781). Discussion ---------- [AnnotationCacheWarmer] add RedirectController to annotation cache | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #29357 | License | MIT 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 Commits ------- 6b6c246 [AnnotationCacheWarmer] add RedirectController to annotation cache
2 parents ff194d9 + 6b6c246 commit db9ef8a

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