@@ -141,7 +141,7 @@ |
||
| 141 | 141 | return; |
| 142 | 142 | } |
| 143 | 143 | |
| 144 | - $extensionConfig = [ |
|
| 144 | + $extensionConfig = [ |
|
| 145 | 145 | 'orm' => [ |
| 146 | 146 | 'mappings' => [ |
| 147 | 147 | $module->getName() => [ |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | $builderGenerator = class_exists(ConfigBuilderGenerator::class) ? |
| 48 | 48 | new ConfigBuilderGenerator($cacheDir) |
| 49 | 49 | : null; |
| 50 | - $resolver = new LoaderResolver([ |
|
| 50 | + $resolver = new LoaderResolver([ |
|
| 51 | 51 | new XmlFileLoader($container, $locator, $env), |
| 52 | 52 | new YamlFileLoader($container, $locator, $env), |
| 53 | 53 | new PhpFileLoader( |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | ]); |
| 63 | 63 | $loader = new DelegatingLoader($resolver); |
| 64 | 64 | |
| 65 | - $loader->load(function (ContainerBuilder $container) use ($loader) { |
|
| 65 | + $loader->load(function(ContainerBuilder $container) use ($loader) { |
|
| 66 | 66 | $modules = $container->get('doyo.modules'); |
| 67 | 67 | $configurator = $this->createConfigurator($container, $loader); |
| 68 | 68 | foreach ($modules->getModules() as $module) { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $env = $container->getParameter('kernel.environment'); |
| 81 | 81 | $paths = ['config', 'services']; |
| 82 | 82 | foreach ($paths as $path) { |
| 83 | - if (is_dir($dir=$module->getBasePath().'/Resources/'.$path)) { |
|
| 83 | + if (is_dir($dir = $module->getBasePath().'/Resources/'.$path)) { |
|
| 84 | 84 | $configurator->import($dir.'/*.yaml'); |
| 85 | 85 | $configurator->import($dir.'/*.xml'); |
| 86 | 86 | $configurator->import($dir.'/{'.$env.'}/*.yaml'); |