From b3e7c01ab6ed989332dbc1f70c6e2f2e29ea457e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Bartus?= <mate.bartus@gmail.com> Date: Thu, 31 Dec 2020 14:50:28 +0100 Subject: [PATCH] [ticket/16671] Fix coding style PHPBB3-166671 --- phpBB/phpbb/attachment/delete.php | 8 ++++---- phpBB/phpbb/attachment/resync.php | 2 +- phpBB/phpbb/attachment/upload.php | 14 +++++++------- phpBB/phpbb/controller/helper.php | 2 +- phpBB/phpbb/db/driver/factory.php | 2 +- phpBB/phpbb/language/language_file_loader.php | 2 +- .../factory_invalid_argument_exception.php | 2 +- .../report/exception/invalid_report_exception.php | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/phpBB/phpbb/attachment/delete.php b/phpBB/phpbb/attachment/delete.php index 3c98e21587..bca7f735f5 100644 --- a/phpBB/phpbb/attachment/delete.php +++ b/phpBB/phpbb/attachment/delete.php @@ -13,10 +13,10 @@ namespace phpbb\attachment; -use \phpbb\config\config; -use \phpbb\db\driver\driver_interface; -use \phpbb\event\dispatcher; -use \phpbb\filesystem\filesystem; +use phpbb\config\config; +use phpbb\db\driver\driver_interface; +use phpbb\event\dispatcher; +use phpbb\filesystem\filesystem; /** * Attachment delete class diff --git a/phpBB/phpbb/attachment/resync.php b/phpBB/phpbb/attachment/resync.php index aeacf82511..4e30e94e2d 100644 --- a/phpBB/phpbb/attachment/resync.php +++ b/phpBB/phpbb/attachment/resync.php @@ -13,7 +13,7 @@ namespace phpbb\attachment; -use \phpbb\db\driver\driver_interface; +use phpbb\db\driver\driver_interface; /** * Attachment resync class diff --git a/phpBB/phpbb/attachment/upload.php b/phpBB/phpbb/attachment/upload.php index b9d32058db..ca83f9dabf 100644 --- a/phpBB/phpbb/attachment/upload.php +++ b/phpBB/phpbb/attachment/upload.php @@ -14,13 +14,13 @@ namespace phpbb\attachment; use phpbb\auth\auth; -use \phpbb\cache\service; -use \phpbb\config\config; -use \phpbb\event\dispatcher; -use \phpbb\language\language; -use \phpbb\mimetype\guesser; -use \phpbb\plupload\plupload; -use \phpbb\user; +use phpbb\cache\service; +use phpbb\config\config; +use phpbb\event\dispatcher; +use phpbb\language\language; +use phpbb\mimetype\guesser; +use phpbb\plupload\plupload; +use phpbb\user; /** * Attachment upload class diff --git a/phpBB/phpbb/controller/helper.php b/phpBB/phpbb/controller/helper.php index 93a243d66a..3262e6bbc4 100644 --- a/phpBB/phpbb/controller/helper.php +++ b/phpBB/phpbb/controller/helper.php @@ -14,7 +14,7 @@ namespace phpbb\controller; use phpbb\auth\auth; -use \phpbb\cache\driver\driver_interface as cache_interface; +use phpbb\cache\driver\driver_interface as cache_interface; use phpbb\config\config; use phpbb\cron\manager; use phpbb\db\driver\driver_interface; diff --git a/phpBB/phpbb/db/driver/factory.php b/phpBB/phpbb/db/driver/factory.php index db58897b88..b2a5707120 100644 --- a/phpBB/phpbb/db/driver/factory.php +++ b/phpBB/phpbb/db/driver/factory.php @@ -13,7 +13,7 @@ namespace phpbb\db\driver; -use \Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\DependencyInjection\ContainerInterface; /** * Database Abstraction Layer diff --git a/phpBB/phpbb/language/language_file_loader.php b/phpBB/phpbb/language/language_file_loader.php index 2910dd3c4a..6eb0e45756 100644 --- a/phpBB/phpbb/language/language_file_loader.php +++ b/phpBB/phpbb/language/language_file_loader.php @@ -13,7 +13,7 @@ namespace phpbb\language; -use \phpbb\language\exception\language_file_not_found; +use phpbb\language\exception\language_file_not_found; /** * Language file loader diff --git a/phpBB/phpbb/report/exception/factory_invalid_argument_exception.php b/phpBB/phpbb/report/exception/factory_invalid_argument_exception.php index 19de91eea3..346dd36316 100644 --- a/phpBB/phpbb/report/exception/factory_invalid_argument_exception.php +++ b/phpBB/phpbb/report/exception/factory_invalid_argument_exception.php @@ -13,7 +13,7 @@ namespace phpbb\report\exception; -use \phpbb\exception\runtime_exception; +use phpbb\exception\runtime_exception; class factory_invalid_argument_exception extends runtime_exception { diff --git a/phpBB/phpbb/report/exception/invalid_report_exception.php b/phpBB/phpbb/report/exception/invalid_report_exception.php index 03ff0a872d..27996de5e1 100644 --- a/phpBB/phpbb/report/exception/invalid_report_exception.php +++ b/phpBB/phpbb/report/exception/invalid_report_exception.php @@ -13,7 +13,7 @@ namespace phpbb\report\exception; -use \phpbb\exception\runtime_exception; +use phpbb\exception\runtime_exception; class invalid_report_exception extends runtime_exception {