Clean up line indent with mixed tabs and whitespaces

Change-Id: Icc418130ad34e5f169bfc51bb13b58a7806bd636
This commit is contained in:
Umherirrender 2022-07-31 16:34:07 +02:00
parent a017d73509
commit 4fca77068c
4 changed files with 7 additions and 7 deletions

View file

@ -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
);

View file

@ -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 ) ) {

View file

@ -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;

View file

@ -152,7 +152,7 @@ class LazyVariableComputerTest extends MediaWikiUnitTestCase {
LazyLoadedVariable $var,
$expected,
array $services = []
) {
) {
$computer = $this->getComputer( $services );
$this->assertSame(
$expected,