aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/di/processor
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/di/processor')
-rw-r--r--phpBB/includes/di/processor/config.php3
-rw-r--r--phpBB/includes/di/processor/ext.php6
2 files changed, 6 insertions, 3 deletions
diff --git a/phpBB/includes/di/processor/config.php b/phpBB/includes/di/processor/config.php
index 45b750c31e..1a5ec15854 100644
--- a/phpBB/includes/di/processor/config.php
+++ b/phpBB/includes/di/processor/config.php
@@ -52,7 +52,8 @@ class phpbb_di_processor_config implements phpbb_di_processor_interface
protected function fix_acm_type($acm_type)
{
- if (preg_match('#^[a-z]+$#', $acm_type)) {
+ if (preg_match('#^[a-z]+$#', $acm_type))
+ {
return 'phpbb_cache_driver_'.$acm_type;
}
diff --git a/phpBB/includes/di/processor/ext.php b/phpBB/includes/di/processor/ext.php
index b39ba5e686..04a586a086 100644
--- a/phpBB/includes/di/processor/ext.php
+++ b/phpBB/includes/di/processor/ext.php
@@ -31,8 +31,10 @@ class phpbb_di_processor_ext implements phpbb_di_processor_interface
public function process(ContainerBuilder $container)
{
$enabled_exts = $this->extension_manager->all_enabled();
- foreach ($enabled_exts as $name => $path) {
- if (file_exists($path . '/config/services.yml')) {
+ foreach ($enabled_exts as $name => $path)
+ {
+ if (file_exists($path . '/config/services.yml'))
+ {
$loader = new YamlFileLoader($container, new FileLocator($path . '/config'));
$loader->load('services.yml');
}