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'; }