mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-12 07:55:53 +00:00
Merge "Change function name to start with lowercase"
This commit is contained in:
commit
e75f7624e1
|
@ -5,7 +5,6 @@
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||||
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="MediaWiki.Files.ClassMatchesFilename.NotMatch">
|
<rule ref="MediaWiki.Files.ClassMatchesFilename.NotMatch">
|
||||||
<exclude-pattern>includes/</exclude-pattern>
|
<exclude-pattern>includes/</exclude-pattern>
|
||||||
|
|
|
@ -84,6 +84,8 @@ use SkinTemplate;
|
||||||
use Wikimedia\Stats\StatsFactory;
|
use Wikimedia\Stats\StatsFactory;
|
||||||
use WikiPage;
|
use WikiPage;
|
||||||
|
|
||||||
|
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
|
||||||
|
|
||||||
class Hooks implements
|
class Hooks implements
|
||||||
AbortTalkPageEmailNotificationHook,
|
AbortTalkPageEmailNotificationHook,
|
||||||
ApiMain__moduleManagerHook,
|
ApiMain__moduleManagerHook,
|
||||||
|
|
|
@ -356,7 +356,7 @@ class NotificationControllerTest extends MediaWikiIntegrationTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider PageLinkedTitleMutedByUserDataProvider
|
* @dataProvider pageLinkedTitleMutedByUserDataProvider
|
||||||
* @param int $mockArticleID
|
* @param int $mockArticleID
|
||||||
* @param int[] $mockMutedTitlePreferences
|
* @param int[] $mockMutedTitlePreferences
|
||||||
* @param bool $expected
|
* @param bool $expected
|
||||||
|
@ -375,7 +375,7 @@ class NotificationControllerTest extends MediaWikiIntegrationTestCase {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function PageLinkedTitleMutedByUserDataProvider(): array {
|
public static function pageLinkedTitleMutedByUserDataProvider(): array {
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
123,
|
123,
|
||||||
|
|
Loading…
Reference in a new issue