This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle
Fabien Potencier 0ad2f2ef9f bug #22669 [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice (ogizanagi)
This PR was merged into the 2.7 branch.

Discussion
----------

[FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/recipes/issues/46
| License       | MIT
| Doc PR        | N/A

As spotted in https://github.com/symfony/recipes/issues/46, there is no reason to call `registerBundles` on the kernel instance, as it's already booted. So we just have to use `getBundles` instead and `registerBundles` can be implemented in a non-rewindable way, as done with flex.

Commits
-------

040edfec4a [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice
2017-05-11 09:38:53 -07:00
..
CacheWarmer Merge branch '2.3' into 2.7 2015-09-27 12:08:38 +02:00
Command [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice 2017-05-08 10:50:08 +02:00
Console [FrameworkBundle] Fix third level headers for MarkdownDescriptor 2017-01-17 19:39:37 +01:00
Controller [FrameworkBundle] Improve performance of ControllerNameParser 2016-11-25 12:34:09 +01:00
DataCollector [WebProfilerBundle] Show AJAX requests in the symfony profiler toolbar 2014-09-23 17:52:02 +02:00
DependencyInjection Prevent double registrations related to tag priorities 2017-04-12 17:35:56 +02:00
EventListener [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
Fragment Silence invasive deprecation warnings, opt-in for warnings 2015-06-08 10:37:21 +01:00
HttpCache Silence invasive deprecation warnings, opt-in for warnings 2015-06-08 10:37:21 +01:00
Resources Revert "fixed typo" 2017-01-21 08:37:26 -08:00
Routing bug #20374 [FrameworkBundle] Improve performance of ControllerNameParser (enumag) 2016-11-25 13:12:15 +01:00
Templating Static code analysis with Php Inspections (EA Extended) 2017-02-16 14:26:15 -08:00
Test Update to PHPUnit namespaces 2017-02-18 08:02:39 -08:00
Tests Prevent double registrations related to tag priorities 2017-04-12 17:35:56 +02:00
Translation [FrameworkBundle] fixed custom domain for translations in php templates 2017-02-03 15:56:44 +01:00
Validator added friendly exception when constraint validator does not exist or it is not enabled 2016-08-24 03:54:03 -07:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md FIX #13919 added TranslationsCacheWarmer to generate catalogues at warmup 2015-03-31 14:07:52 +02:00
Client.php Merge branch '2.3' into 2.7 2016-03-16 17:00:15 +01:00
composer.json [FrameworkBundle] Adding the extension XML 2017-05-09 07:43:21 -07:00
FrameworkBundle.php remove translation data collector when not usable 2017-02-16 23:20:46 +01:00
LICENSE updated LICENSE year 2017-01-02 12:30:00 -08:00
phpunit.xml.dist fail when detecting risky tests 2017-04-12 09:39:27 +02:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00