mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.
PHPBB3-11980
This commit is contained in:
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class definenode extends \Twig_Node
|
||||
{
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class event extends \Twig_Node
|
||||
{
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node\expression\binary;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class equalequal extends \Twig_Node_Expression_Binary
|
||||
{
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node\expression\binary;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class notequalequal extends \Twig_Node_Expression_Binary
|
||||
{
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class includenode extends \Twig_Node_Include
|
||||
{
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class includephp extends \Twig_Node
|
||||
{
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\template\twig\node;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class php extends \Twig_Node
|
||||
{
|
||||
|
Reference in New Issue
Block a user