Fomafix has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/398604 )
Change subject: Rename PHP files to match class names ...................................................................... Rename PHP files to match class names This avoids the exclusion of the rule MediaWiki.Files.ClassMatchesFilename.NotMatch in .phpcs.xml. Change-Id: Ifd7f5f59097c6dedc19f031baaef538023a33336 --- M .phpcs.xml R TemplateDataHooks.php M extension.json 3 files changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TemplateData refs/changes/04/398604/1 diff --git a/.phpcs.xml b/.phpcs.xml index d81f486..b15894e 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,6 @@ <ruleset> <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> <exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" /> - <exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" /> <exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" /> <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" /> </rule> diff --git a/TemplateData.hooks.php b/TemplateDataHooks.php similarity index 100% rename from TemplateData.hooks.php rename to TemplateDataHooks.php diff --git a/extension.json b/extension.json index e8be290..38fb077 100644 --- a/extension.json +++ b/extension.json @@ -21,7 +21,7 @@ "templatedata": "ApiTemplateData" }, "AutoloadClasses": { - "TemplateDataHooks": "TemplateData.hooks.php", + "TemplateDataHooks": "TemplateDataHooks.php", "TemplateDataBlob": "TemplateDataBlob.php", "ApiTemplateData": "api/ApiTemplateData.php" }, -- To view, visit https://gerrit.wikimedia.org/r/398604 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifd7f5f59097c6dedc19f031baaef538023a33336 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TemplateData Gerrit-Branch: master Gerrit-Owner: Fomafix <foma...@googlemail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits