mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +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\search;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* fulltext_mysql
|
||||
* Fulltext search for MySQL
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* fulltext_native
|
||||
* phpBB's own db driven fulltext search, version 2
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* fulltext_postgres
|
||||
* Fulltext search for PostgreSQL
|
||||
|
@@ -9,16 +9,6 @@
|
||||
|
||||
namespace phpbb\search;
|
||||
|
||||
/**
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
define('SPHINX_MAX_MATCHES', 20000);
|
||||
define('SPHINX_CONNECT_RETRIES', 3);
|
||||
define('SPHINX_CONNECT_WAIT_TIME', 300);
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search\sphinx;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* \phpbb\search\sphinx\config
|
||||
* An object representing the sphinx configuration
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search\sphinx;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* \phpbb\search\sphinx\config_comment
|
||||
* Represents a comment inside the sphinx configuration
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search\sphinx;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* \phpbb\search\sphinx\config_section
|
||||
* Represents a single section inside the sphinx configuration
|
||||
|
@@ -9,14 +9,6 @@
|
||||
|
||||
namespace phpbb\search\sphinx;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* \phpbb\search\sphinx\config_variable
|
||||
* Represents a single variable inside the sphinx configuration
|
||||
|
Reference in New Issue
Block a user