1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16748] Enable code sniffing for static placement and adjust code

PHPBB3-16748
This commit is contained in:
Marc Alexander
2021-04-03 23:12:04 +02:00
parent 8518393c46
commit ce08da5165
387 changed files with 459 additions and 459 deletions

View File

@@ -278,7 +278,7 @@ class add_bots extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -109,7 +109,7 @@ class add_languages extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -547,7 +547,7 @@ class add_modules extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -180,7 +180,7 @@ class create_search_index extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -136,7 +136,7 @@ class setup_languages extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -218,7 +218,7 @@ class add_config_settings extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -173,7 +173,7 @@ class add_default_data extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -129,7 +129,7 @@ class add_tables extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -157,7 +157,7 @@ class create_schema_file extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -121,7 +121,7 @@ class set_up_database extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -171,7 +171,7 @@ class update_user_and_post_data extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count() : int
public static function get_step_count() : int
{
return 1;
}

View File

@@ -228,7 +228,7 @@ class create_config_file extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -175,7 +175,7 @@ class install_extensions extends database_task
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -151,7 +151,7 @@ class notify_user extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -78,7 +78,7 @@ class populate_migrations extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -203,7 +203,7 @@ class obtain_admin_data extends \phpbb\install\task_base implements \phpbb\insta
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -170,7 +170,7 @@ class obtain_board_data extends \phpbb\install\task_base implements \phpbb\insta
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -255,7 +255,7 @@ class obtain_database_data extends \phpbb\install\task_base implements \phpbb\in
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -158,7 +158,7 @@ class obtain_email_data extends \phpbb\install\task_base implements \phpbb\insta
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -154,7 +154,7 @@ class obtain_file_updater_method extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -187,7 +187,7 @@ class obtain_server_data extends \phpbb\install\task_base implements \phpbb\inst
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -98,7 +98,7 @@ class obtain_update_files extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -148,7 +148,7 @@ class obtain_update_ftp_data extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -110,7 +110,7 @@ class obtain_update_settings extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -264,7 +264,7 @@ class check_filesystem extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -211,7 +211,7 @@ class check_server_environment extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -183,7 +183,7 @@ class check_update extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -219,7 +219,7 @@ class update extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -75,7 +75,7 @@ class update_extensions extends task_base
* @var array List of default extensions to update, grouped by version
* they were added
*/
static public $default_extensions_update = [
public static $default_extensions_update = [
'3.2.0-RC2' => ['phpbb/viglink']
];
@@ -222,7 +222,7 @@ class update_extensions extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 1;
}

View File

@@ -238,7 +238,7 @@ class diff_files extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -118,7 +118,7 @@ class download_updated_files extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -233,7 +233,7 @@ class file_check extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -155,7 +155,7 @@ class show_file_status extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}

View File

@@ -272,7 +272,7 @@ class update_files extends task_base
/**
* {@inheritdoc}
*/
static public function get_step_count()
public static function get_step_count()
{
return 0;
}