diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-10-30 13:05:28 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-10-30 13:05:28 +0100 |
commit | 7aa8f6461f1e85cf91931f56b95384e54fec07c2 (patch) | |
tree | 4f2b5f2741da82f1e318b0d5599dbd2e4e2ea3b3 /phpBB/phpbb/request | |
parent | 6ac46ad46976c07ff054b313f2e2ee4dee9e0172 (diff) | |
download | forums-7aa8f6461f1e85cf91931f56b95384e54fec07c2.tar forums-7aa8f6461f1e85cf91931f56b95384e54fec07c2.tar.gz forums-7aa8f6461f1e85cf91931f56b95384e54fec07c2.tar.bz2 forums-7aa8f6461f1e85cf91931f56b95384e54fec07c2.tar.xz forums-7aa8f6461f1e85cf91931f56b95384e54fec07c2.zip |
[task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.
PHPBB3-11980
Diffstat (limited to 'phpBB/phpbb/request')
-rw-r--r-- | phpBB/phpbb/request/deactivated_super_global.php | 8 | ||||
-rw-r--r-- | phpBB/phpbb/request/request.php | 8 | ||||
-rw-r--r-- | phpBB/phpbb/request/request_interface.php | 8 | ||||
-rw-r--r-- | phpBB/phpbb/request/type_cast_helper.php | 8 | ||||
-rw-r--r-- | phpBB/phpbb/request/type_cast_helper_interface.php | 8 |
5 files changed, 0 insertions, 40 deletions
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 @@ -10,14 +10,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 @@ -10,14 +10,6 @@ namespace phpbb\request; /** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -/** * All application input is accessed through this class. * * It provides a method to disable access to input data through super globals. 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 @@ -10,14 +10,6 @@ namespace phpbb\request; /** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -/** * An interface through which all application input can be accessed. * * @package \phpbb\request\request 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 @@ -10,14 +10,6 @@ namespace phpbb\request; /** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -/** * A helper class that provides convenience methods for type casting. * * @package \phpbb\request\request 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 @@ -10,14 +10,6 @@ namespace phpbb\request; /** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -/** * An interface for type cast operations. * * @package \phpbb\request\request |