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/auth/provider/oauth/service/base.php | 8 -------- phpBB/phpbb/auth/provider/oauth/service/bitly.php | 8 -------- phpBB/phpbb/auth/provider/oauth/service/exception.php | 8 -------- phpBB/phpbb/auth/provider/oauth/service/facebook.php | 8 -------- phpBB/phpbb/auth/provider/oauth/service/google.php | 8 -------- phpBB/phpbb/auth/provider/oauth/service/service_interface.php | 8 -------- 6 files changed, 48 deletions(-) (limited to 'phpBB/phpbb/auth/provider/oauth/service') diff --git a/phpBB/phpbb/auth/provider/oauth/service/base.php b/phpBB/phpbb/auth/provider/oauth/service/base.php index 61deb48695..7a144d2f51 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/base.php +++ b/phpBB/phpbb/auth/provider/oauth/service/base.php @@ -9,14 +9,6 @@ namespace phpbb\auth\provider\oauth\service; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * Base OAuth abstract class that all OAuth services should implement * diff --git a/phpBB/phpbb/auth/provider/oauth/service/bitly.php b/phpBB/phpbb/auth/provider/oauth/service/bitly.php index 47cf7ee380..b4050033a6 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/bitly.php +++ b/phpBB/phpbb/auth/provider/oauth/service/bitly.php @@ -9,14 +9,6 @@ namespace phpbb\auth\provider\oauth\service; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * Bitly OAuth service * diff --git a/phpBB/phpbb/auth/provider/oauth/service/exception.php b/phpBB/phpbb/auth/provider/oauth/service/exception.php index 0c6cba9fb8..3bc93be01e 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/exception.php +++ b/phpBB/phpbb/auth/provider/oauth/service/exception.php @@ -9,14 +9,6 @@ namespace phpbb\auth\provider\oauth\service; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * OAuth service exception class * diff --git a/phpBB/phpbb/auth/provider/oauth/service/facebook.php b/phpBB/phpbb/auth/provider/oauth/service/facebook.php index 4a4eeba6d5..2698be8b18 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/facebook.php +++ b/phpBB/phpbb/auth/provider/oauth/service/facebook.php @@ -9,14 +9,6 @@ namespace phpbb\auth\provider\oauth\service; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * Facebook OAuth service * diff --git a/phpBB/phpbb/auth/provider/oauth/service/google.php b/phpBB/phpbb/auth/provider/oauth/service/google.php index 2449bbf523..08cb025c2d 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/google.php +++ b/phpBB/phpbb/auth/provider/oauth/service/google.php @@ -9,14 +9,6 @@ namespace phpbb\auth\provider\oauth\service; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * Google OAuth service * diff --git a/phpBB/phpbb/auth/provider/oauth/service/service_interface.php b/phpBB/phpbb/auth/provider/oauth/service/service_interface.php index ab69fe6ef3..eee3a51cac 100644 --- a/phpBB/phpbb/auth/provider/oauth/service/service_interface.php +++ b/phpBB/phpbb/auth/provider/oauth/service/service_interface.php @@ -9,14 +9,6 @@ namespace phpbb\auth\provider\oauth\service; -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - /** * OAuth service interface * -- cgit v1.2.1