Skip to content

Commit d6051b9

Browse files
Merge branch '3.4' into 4.3
* 3.4: [FrameworkBundle] Fix wrong returned status code in ConfigDebugCommand [AnnotationCacheWarmer] add RedirectController to annotation cache
2 parents d58c9f7 + e029ca9 commit d6051b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Command/ConfigDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
109109
} catch (LogicException $e) {
110110
$errorIo->error($e->getMessage());
111111

112-
return;
112+
return 1;
113113
}
114114

115115
$io->title(sprintf('Current configuration for "%s.%s"', $extensionAlias, $path));

Resources/config/annotations.xml

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

0 commit comments

Comments
 (0)