Skip to content

Commit 6646ee1

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [Console] Do not duplicate Helper::strlen() code [FrameworkBundle] Adding the extension XML [Form] Minor: Fix comment in ChoiceType [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice
2 parents 32323fa + 0701025 commit 6646ee1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Command/AbstractConfigCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private function initializeBundles()
9292
// Re-build bundle manually to initialize DI extensions that can be extended by other bundles in their build() method
9393
// as this method is not called when the container is loaded from the cache.
9494
$container = $this->getContainerBuilder();
95-
$bundles = $this->getContainer()->get('kernel')->registerBundles();
95+
$bundles = $this->getContainer()->get('kernel')->getBundles();
9696
foreach ($bundles as $bundle) {
9797
if ($extension = $bundle->getContainerExtension()) {
9898
$container->registerExtension($extension);

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.9",
20+
"ext-xml": "*",
2021
"symfony/asset": "~2.7|~3.0.0",
2122
"symfony/class-loader": "~2.1|~3.0.0",
2223
"symfony/dependency-injection": "~2.8",

0 commit comments

Comments
 (0)