mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16736] Fix invalid placement of visibility qualifiers next to static
PHPBB3-16736
This commit is contained in:
parent
0897d3e381
commit
a8ffd339fe
8 changed files with 9 additions and 9 deletions
|
@ -20,7 +20,7 @@ class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
|
||||||
return $this->config->offsetExists('display_unapproved_posts');
|
return $this->config->offsetExists('display_unapproved_posts');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return ['\phpbb\db\migration\data\v330\dev',];
|
return ['\phpbb\db\migration\data\v330\dev',];
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ class remove_attachment_flash extends \phpbb\db\migration\migration
|
||||||
self::ATTACHMENT_CATEGORY_FLASH,
|
self::ATTACHMENT_CATEGORY_FLASH,
|
||||||
);
|
);
|
||||||
|
|
||||||
public static function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return ['\phpbb\db\migration\data\v330\dev',];
|
return ['\phpbb\db\migration\data\v330\dev',];
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ class remove_max_pass_chars extends \phpbb\db\migration\migration
|
||||||
return !$this->config->offsetExists('max_pass_chars');
|
return !$this->config->offsetExists('max_pass_chars');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'\phpbb\db\migration\data\v330\dev',
|
'\phpbb\db\migration\data\v330\dev',
|
||||||
|
|
|
@ -20,7 +20,7 @@ class default_search_return_chars extends \phpbb\db\migration\migration
|
||||||
return $this->config->offsetExists('default_search_return_chars');
|
return $this->config->offsetExists('default_search_return_chars');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'\phpbb\db\migration\data\v330\v330',
|
'\phpbb\db\migration\data\v330\v330',
|
||||||
|
|
|
@ -20,7 +20,7 @@ class google_recaptcha_v3 extends \phpbb\db\migration\migration
|
||||||
return $this->config->offsetExists('recaptcha_v3_key');
|
return $this->config->offsetExists('recaptcha_v3_key');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'\phpbb\db\migration\data\v330\v330',
|
'\phpbb\db\migration\data\v330\v330',
|
||||||
|
|
|
@ -30,7 +30,7 @@ class mssql extends tools
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function get_dbms_type_map()
|
static public function get_dbms_type_map()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'mssql' => array(
|
'mssql' => array(
|
||||||
|
|
|
@ -24,7 +24,7 @@ class postgres extends tools
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function get_dbms_type_map()
|
static public function get_dbms_type_map()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'postgres' => array(
|
'postgres' => array(
|
||||||
|
|
|
@ -24,7 +24,7 @@ use Symfony\Component\Debug\ExceptionHandler;
|
||||||
*/
|
*/
|
||||||
class debug
|
class debug
|
||||||
{
|
{
|
||||||
private static $enabled = false;
|
static private $enabled = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables the debug tools.
|
* Enables the debug tools.
|
||||||
|
@ -37,7 +37,7 @@ class debug
|
||||||
* @param int $errorReportingLevel The level of error reporting you want
|
* @param int $errorReportingLevel The level of error reporting you want
|
||||||
* @param bool $displayErrors Whether to display errors (for development) or just log them (for production)
|
* @param bool $displayErrors Whether to display errors (for development) or just log them (for production)
|
||||||
*/
|
*/
|
||||||
public static function enable($errorReportingLevel = null, $displayErrors = true)
|
static public function enable($errorReportingLevel = null, $displayErrors = true)
|
||||||
{
|
{
|
||||||
if (static::$enabled)
|
if (static::$enabled)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue