From 7aa8f6461f1e85cf91931f56b95384e54fec07c2 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Wed, 30 Oct 2013 13:05:28 +0100 Subject: [task/code-sniffer] Remove the IN_PHPBB check side-effect from class files. PHPBB3-11980 --- phpBB/phpbb/request/deactivated_super_global.php | 8 -------- phpBB/phpbb/request/request.php | 8 -------- phpBB/phpbb/request/request_interface.php | 8 -------- phpBB/phpbb/request/type_cast_helper.php | 8 -------- phpBB/phpbb/request/type_cast_helper_interface.php | 8 -------- 5 files changed, 40 deletions(-) (limited to 'phpBB/phpbb/request') diff --git a/phpBB/phpbb/request/deactivated_super_global.php b/phpBB/phpbb/request/deactivated_super_global.php index 8f39960477..b03624593e 100644 --- a/phpBB/phpbb/request/deactivated_super_global.php +++ b/phpBB/phpbb/request/deactivated_super_global.php @@ -9,14 +9,6 @@ namespace phpbb\request; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * Replacement for a superglobal (like $_GET or $_POST) which calls * trigger_error on all operations but isset, overloads the [] operator with SPL. diff --git a/phpBB/phpbb/request/request.php b/phpBB/phpbb/request/request.php index 1c388b3c73..e158d33c01 100644 --- a/phpBB/phpbb/request/request.php +++ b/phpBB/phpbb/request/request.php @@ -9,14 +9,6 @@ namespace phpbb\request; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * All application input is accessed through this class. * diff --git a/phpBB/phpbb/request/request_interface.php b/phpBB/phpbb/request/request_interface.php index cd949147f7..1f9978b276 100644 --- a/phpBB/phpbb/request/request_interface.php +++ b/phpBB/phpbb/request/request_interface.php @@ -9,14 +9,6 @@ namespace phpbb\request; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * An interface through which all application input can be accessed. * diff --git a/phpBB/phpbb/request/type_cast_helper.php b/phpBB/phpbb/request/type_cast_helper.php index 262aff73c1..e9b55663af 100644 --- a/phpBB/phpbb/request/type_cast_helper.php +++ b/phpBB/phpbb/request/type_cast_helper.php @@ -9,14 +9,6 @@ namespace phpbb\request; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * A helper class that provides convenience methods for type casting. * diff --git a/phpBB/phpbb/request/type_cast_helper_interface.php b/phpBB/phpbb/request/type_cast_helper_interface.php index e8195c352e..f12795eef9 100644 --- a/phpBB/phpbb/request/type_cast_helper_interface.php +++ b/phpBB/phpbb/request/type_cast_helper_interface.php @@ -9,14 +9,6 @@ namespace phpbb\request; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * An interface for type cast operations. * -- cgit v1.2.1