Skip to content

Commit

Permalink
[task/code-sniffer] Remove the IN_PHPBB check side-effect from class …
Browse files Browse the repository at this point in the history
…files.

PHPBB3-11980
  • Loading branch information
bantu committed Oct 30, 2013
1 parent 6ac46ad commit 7aa8f64
Show file tree
Hide file tree
Showing 192 changed files with 0 additions and 1,537 deletions.
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Permission/Auth class
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/apache.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Apache authentication provider for phpBB3
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Base authentication provider class that all other providers should implement
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Database authentication provider for phpBB3
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Database authentication provider for phpBB3
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

use OAuth\Common\Consumer\Credentials;
use OAuth\Common\Http\Uri\Uri;

Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/service/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/service/bitly.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth\service;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Bitly OAuth service
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/service/exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth\service;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* OAuth service exception class
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/service/facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth\service;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Facebook OAuth service
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/service/google.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth\service;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Google OAuth service
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/service/service_interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth\service;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* OAuth service interface
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/oauth/token_storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider\oauth;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}


use OAuth\OAuth1\Token\StdOAuth1Token;
use OAuth\Common\Token\TokenInterface;
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/auth/provider/provider_interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\auth\provider;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* The interface authentication provider classes have to implement.
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/driver/driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Base class for avatar drivers
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/driver/driver_interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Interface for avatar drivers
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/driver/gravatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Handles avatars hosted at gravatar.com
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/driver/local.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Handles avatars selected from the board gallery
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/driver/remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Handles avatars hosted remotely
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/driver/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Handles avatars uploaded to the board
* @package phpBB3
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/avatar/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\avatar;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* @package avatar
*/
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/cache/driver/apc.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\cache\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* ACM for APC
* @package acm
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/cache/driver/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\cache\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* @package acm
*/
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/cache/driver/driver_interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\cache\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* An interface that all cache drivers must implement
*
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/cache/driver/eaccelerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\cache\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* ACM for eAccelerator
* @package acm
Expand Down
8 changes: 0 additions & 8 deletions phpBB/phpbb/cache/driver/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@

namespace phpbb\cache\driver;

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}

/**
* ACM File Based Caching
* @package acm
Expand Down
Loading

0 comments on commit 7aa8f64

Please sign in to comment.