Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #22669 [FrameworkBundle] AbstractConfigCommand: do not try regist…
…ering 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 | symfony/recipes#46 | License | MIT | Doc PR | N/A As spotted in symfony/recipes#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 ------- 040edfe [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice
- Loading branch information