1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 14:31:19 +02:00

[ticket/15253] Fix code style

PHPBB3-15253
This commit is contained in:
Rubén Calvo
2017-06-27 10:41:30 +02:00
parent de288be1b3
commit 94ee3dc8b0
5 changed files with 20 additions and 34 deletions

View File

@@ -13,6 +13,8 @@
namespace phpbb\filesystem;
use Symfony\Component\Filesystem\Filesystem as symfony_filesystem;
class helper
{
/**
@@ -66,7 +68,6 @@ class helper
*/
protected static function phpbb_own_realpath($path)
{
// Replace all directory separators with '/'
$path = str_replace(DIRECTORY_SEPARATOR, '/', $path);
@@ -206,7 +207,7 @@ class helper
*/
public static function make_path_relative($end_path, $start_path)
{
$symfony_filesystem = new \Symfony\Component\Filesystem\Filesystem();
$symfony_filesystem = new symfony_filesystem();
return $symfony_filesystem->makePathRelative($end_path, $start_path);
}