mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Clean up line indent with mixed tabs and whitespaces
Change-Id: Icc418130ad34e5f169bfc51bb13b58a7806bd636
This commit is contained in:
parent
a017d73509
commit
4fca77068c
|
@ -16,7 +16,7 @@ interface AbuseFilterGenerateGenericVarsHook {
|
|||
* this is the entry. Null if it's for the current action being filtered.
|
||||
* @return bool|void True or no return value to continue or false to abort
|
||||
*/
|
||||
public function onAbuseFilter_generateGenericVars(
|
||||
public function onAbuseFilter_generateGenericVars(
|
||||
VariableHolder $vars,
|
||||
?RecentChange $rc
|
||||
);
|
||||
|
|
|
@ -11,9 +11,9 @@ class RegistrationCallback {
|
|||
|
||||
public static function onRegistration(): void {
|
||||
global $wgAbuseFilterProfile,
|
||||
$wgAbuseFilterProfiling, $wgAbuseFilterPrivateLog, $wgAbuseFilterForceSummary,
|
||||
$wgGroupPermissions, $wgAbuseFilterRestrictions, $wgAbuseFilterDisallowGlobalLocalBlocks,
|
||||
$wgAbuseFilterActionRestrictions, $wgAbuseFilterLocallyDisabledGlobalActions;
|
||||
$wgAbuseFilterProfiling, $wgAbuseFilterPrivateLog, $wgAbuseFilterForceSummary,
|
||||
$wgGroupPermissions, $wgAbuseFilterRestrictions, $wgAbuseFilterDisallowGlobalLocalBlocks,
|
||||
$wgAbuseFilterActionRestrictions, $wgAbuseFilterLocallyDisabledGlobalActions;
|
||||
|
||||
// @todo Remove this in a future release (added in 1.33)
|
||||
if ( isset( $wgAbuseFilterProfile ) || isset( $wgAbuseFilterProfiling ) ) {
|
||||
|
|
|
@ -592,8 +592,8 @@ class AFPTreeParser {
|
|||
protected function doLevelFunction() {
|
||||
$next = $this->getNextToken();
|
||||
if ( $this->mCur->type === AFPToken::TID &&
|
||||
$next->type === AFPToken::TBRACE &&
|
||||
$next->value === '('
|
||||
$next->type === AFPToken::TBRACE &&
|
||||
$next->value === '('
|
||||
) {
|
||||
$func = $this->mCur->value;
|
||||
$position = $this->mPos;
|
||||
|
|
|
@ -152,7 +152,7 @@ class LazyVariableComputerTest extends MediaWikiUnitTestCase {
|
|||
LazyLoadedVariable $var,
|
||||
$expected,
|
||||
array $services = []
|
||||
) {
|
||||
) {
|
||||
$computer = $this->getComputer( $services );
|
||||
$this->assertSame(
|
||||
$expected,
|
||||
|
|
Loading…
Reference in a new issue