includes/api/ApiHookRunner.php
ApiHookRunner
has 44 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class ApiHookRunner implements
Hook\APIAfterExecuteHook,
Hook\ApiCheckCanExecuteHook,
Hook\ApiDeprecationHelpHook,
Hook\ApiLogFeatureUsageHook,
File ApiHookRunner.php
has 332 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace MediaWiki\Api;
use Article;
Method onApiQueryBaseBeforeQuery
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onApiQueryBaseBeforeQuery( $module, &$tables, &$fields,
&$conds, &$query_options, &$join_conds, &$hookData
Method onApiMakeParserOptions
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onApiMakeParserOptions( $options, $title, $params, $module,
&$reset, &$suppressCache
Method onTempUserCreatedRedirect
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Session $session,
UserIdentity $user,
string $returnTo,
string $returnToQuery,
string $returnToAnchor,