From 9d46bcf5c75181202cd71deddcc2d8460683d934 Mon Sep 17 00:00:00 2001 From: zoranzoki21 Date: Sat, 6 Feb 2021 15:52:52 +0100 Subject: [PATCH] Fix few PHPCS excludes Change-Id: I999ff9d6ffbc727d74221a62080895af21495772 --- .phpcs.xml | 6 ++---- extension.json | 2 +- ContributionScores_body.php => src/ContributionScores.php | 3 +++ 3 files changed, 6 insertions(+), 5 deletions(-) rename ContributionScores_body.php => src/ContributionScores.php (99%) diff --git a/.phpcs.xml b/.phpcs.xml index 46eab63..0b4a221 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,12 +1,10 @@ - - - - + + . diff --git a/extension.json b/extension.json index c9b217c..62f9cac 100644 --- a/extension.json +++ b/extension.json @@ -12,7 +12,7 @@ "ContributionScores": "ContributionScores" }, "AutoloadClasses": { - "ContributionScores": "ContributionScores_body.php" + "ContributionScores": "src/ContributionScores.php" }, "Hooks": { "ParserFirstCallInit": "ContributionScores::onParserFirstCallInit" diff --git a/ContributionScores_body.php b/src/ContributionScores.php similarity index 99% rename from ContributionScores_body.php rename to src/ContributionScores.php index 5cca29c..1c37fab 100644 --- a/ContributionScores_body.php +++ b/src/ContributionScores.php @@ -378,6 +378,9 @@ class ContributionScores extends IncludableSpecialPage { } } + /** + * @inheritDoc + */ protected function getGroupName() { return 'wiki'; }