aboutsummaryrefslogtreecommitdiff
path: root/tests/di
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-06-26 15:49:31 +0200
committerRubén Calvo <rubencm@gmail.com>2017-07-20 19:55:52 +0200
commitecb79539f417c3a527e954deff538d8b4cc12945 (patch)
tree4ddc801aadae4387ccd463247e52f7d29e377f10 /tests/di
parent[ticket/15253] Fix coding style (diff)
downloadphpbb-ecb79539f417c3a527e954deff538d8b4cc12945.tar.gz
phpbb-ecb79539f417c3a527e954deff538d8b4cc12945.tar.bz2
phpbb-ecb79539f417c3a527e954deff538d8b4cc12945.zip
[ticket/15253] Use storage helper methods instead of filesystem methods
PHPBB3-15253
Diffstat (limited to 'tests/di')
-rw-r--r--tests/di/fixtures/ext/vendor/enabled_4/di/extension.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/di/fixtures/ext/vendor/enabled_4/di/extension.php b/tests/di/fixtures/ext/vendor/enabled_4/di/extension.php
index 8e5ed6c52c..5e5f07c777 100644
--- a/tests/di/fixtures/ext/vendor/enabled_4/di/extension.php
+++ b/tests/di/fixtures/ext/vendor/enabled_4/di/extension.php
@@ -25,8 +25,7 @@ class extension extends extension_base
{
protected function load_services(ContainerBuilder $container)
{
- $filesystem = new \phpbb\filesystem\filesystem();
- $loader = new YamlFileLoader($container, new FileLocator($filesystem->realpath($this->ext_path)));
+ $loader = new YamlFileLoader($container, new FileLocator(\phpbb\storage\helper::realpath($this->ext_path)));
$loader->load('environment.yml');
}
}