From d872cba5636e2be79f96d0a74042b411b1bf88d5 Mon Sep 17 00:00:00 2001 From: SamanthaNguyen Date: Tue, 12 Jun 2018 18:42:37 -0500 Subject: [PATCH] Rename files to match class Change-Id: I720bbf35a9fe01ea39225c774c8fa12f2be97b57 --- .phpcs.xml | 1 - ...ments.alias.php => Comments.i18n.alias.php | 0 ....i18n.magic.php => Comments.i18n.magic.php | 0 extension.json | 36 +++++++++---------- includes/{Comment.class.php => Comment.php} | 0 ...nctions.class.php => CommentFunctions.php} | 0 .../{Comments.hooks.php => CommentsHooks.php} | 0 ...ter.class.php => CommentsLogFormatter.php} | 0 ...ommentsPage.class.php => CommentsPage.php} | 0 ...mmentBlock.api.php => CommentBlockAPI.php} | 0 ...entDelete.api.php => CommentDeleteAPI.php} | 0 ...atestID.api.php => CommentLatestIdAPI.php} | 0 ...CommentList.api.php => CommentListAPI.php} | 0 ...entSubmit.api.php => CommentSubmitAPI.php} | 0 ...CommentVote.api.php => CommentVoteAPI.php} | 0 ...fTheDay.class.php => CommentsOfTheDay.php} | 0 ...Comments.class.php => DisplayComments.php} | 0 ...omments.class.php => NumberOfComments.php} | 0 ...ntIgnoreList.php => CommentIgnoreList.php} | 0 19 files changed, 18 insertions(+), 19 deletions(-) rename includes/Comments.alias.php => Comments.i18n.alias.php (100%) rename includes/Comments.i18n.magic.php => Comments.i18n.magic.php (100%) rename includes/{Comment.class.php => Comment.php} (100%) rename includes/{CommentFunctions.class.php => CommentFunctions.php} (100%) rename includes/{Comments.hooks.php => CommentsHooks.php} (100%) rename includes/{CommentsLogFormatter.class.php => CommentsLogFormatter.php} (100%) rename includes/{CommentsPage.class.php => CommentsPage.php} (100%) rename includes/api/{CommentBlock.api.php => CommentBlockAPI.php} (100%) rename includes/api/{CommentDelete.api.php => CommentDeleteAPI.php} (100%) rename includes/api/{CommentLatestID.api.php => CommentLatestIdAPI.php} (100%) rename includes/api/{CommentList.api.php => CommentListAPI.php} (100%) rename includes/api/{CommentSubmit.api.php => CommentSubmitAPI.php} (100%) rename includes/api/{CommentVote.api.php => CommentVoteAPI.php} (100%) rename includes/parser/{CommentsOfTheDay.class.php => CommentsOfTheDay.php} (100%) rename includes/parser/{DisplayComments.class.php => DisplayComments.php} (100%) rename includes/parser/{NumberOfComments.class.php => NumberOfComments.php} (100%) rename includes/specials/{SpecialCommentIgnoreList.php => CommentIgnoreList.php} (100%) diff --git a/.phpcs.xml b/.phpcs.xml index 048f718b..3081f188 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -7,7 +7,6 @@ - diff --git a/includes/Comments.alias.php b/Comments.i18n.alias.php similarity index 100% rename from includes/Comments.alias.php rename to Comments.i18n.alias.php diff --git a/includes/Comments.i18n.magic.php b/Comments.i18n.magic.php similarity index 100% rename from includes/Comments.i18n.magic.php rename to Comments.i18n.magic.php diff --git a/extension.json b/extension.json index da54af51..fd106b1a 100644 --- a/extension.json +++ b/extension.json @@ -55,26 +55,26 @@ ] }, "ExtensionMessagesFiles": { - "CommentsAliases": "includes/Comments.alias.php", - "CommentsMagic": "includes/Comments.i18n.magic.php", - "NumberOfCommentsMagic": "includes/Comments.i18n.magic.php" + "CommentsAliases": "Comments.i18n.alias.php", + "CommentsMagic": "Comments.i18n.magic.php", + "NumberOfCommentsMagic": "Comments.i18n.magic.php" }, "AutoloadClasses": { - "Comment": "includes/Comment.class.php", - "CommentsPage": "includes/CommentsPage.class.php", - "CommentsOfTheDay": "includes/parser/CommentsOfTheDay.class.php", - "NumberOfComments": "includes/parser/NumberOfComments.class.php", - "DisplayComments": "includes/parser/DisplayComments.class.php", - "CommentFunctions": "/includes/CommentFunctions.class.php", - "CommentIgnoreList": "includes/specials/SpecialCommentIgnoreList.php", - "CommentsLogFormatter": "includes/CommentsLogFormatter.class.php", - "CommentsHooks": "includes/Comments.hooks.php", - "CommentBlockAPI": "includes/api/CommentBlock.api.php", - "CommentDeleteAPI": "includes/api/CommentDelete.api.php", - "CommentLatestIdAPI": "includes/api/CommentLatestID.api.php", - "CommentListAPI": "includes/api/CommentList.api.php", - "CommentSubmitAPI": "includes/api/CommentSubmit.api.php", - "CommentVoteAPI": "includes/api/CommentVote.api.php" + "Comment": "includes/Comment.php", + "CommentsPage": "includes/CommentsPage.php", + "CommentsOfTheDay": "includes/parser/CommentsOfTheDay.php", + "NumberOfComments": "includes/parser/NumberOfComments.php", + "DisplayComments": "includes/parser/DisplayComments.php", + "CommentFunctions": "/includes/CommentFunctions.php", + "CommentIgnoreList": "includes/specials/CommentIgnoreList.php", + "CommentsLogFormatter": "includes/CommentsLogFormatter.php", + "CommentsHooks": "includes/CommentsHooks.php", + "CommentBlockAPI": "includes/api/CommentBlockAPI.php", + "CommentDeleteAPI": "includes/api/CommentDeleteAPI.php", + "CommentLatestIdAPI": "includes/api/CommentLatestIdAPI.php", + "CommentListAPI": "includes/api/CommentListAPI.php", + "CommentSubmitAPI": "includes/api/CommentSubmitAPI.php", + "CommentVoteAPI": "includes/api/CommentVoteAPI.php" }, "ResourceModules": { "ext.comments.css": { diff --git a/includes/Comment.class.php b/includes/Comment.php similarity index 100% rename from includes/Comment.class.php rename to includes/Comment.php diff --git a/includes/CommentFunctions.class.php b/includes/CommentFunctions.php similarity index 100% rename from includes/CommentFunctions.class.php rename to includes/CommentFunctions.php diff --git a/includes/Comments.hooks.php b/includes/CommentsHooks.php similarity index 100% rename from includes/Comments.hooks.php rename to includes/CommentsHooks.php diff --git a/includes/CommentsLogFormatter.class.php b/includes/CommentsLogFormatter.php similarity index 100% rename from includes/CommentsLogFormatter.class.php rename to includes/CommentsLogFormatter.php diff --git a/includes/CommentsPage.class.php b/includes/CommentsPage.php similarity index 100% rename from includes/CommentsPage.class.php rename to includes/CommentsPage.php diff --git a/includes/api/CommentBlock.api.php b/includes/api/CommentBlockAPI.php similarity index 100% rename from includes/api/CommentBlock.api.php rename to includes/api/CommentBlockAPI.php diff --git a/includes/api/CommentDelete.api.php b/includes/api/CommentDeleteAPI.php similarity index 100% rename from includes/api/CommentDelete.api.php rename to includes/api/CommentDeleteAPI.php diff --git a/includes/api/CommentLatestID.api.php b/includes/api/CommentLatestIdAPI.php similarity index 100% rename from includes/api/CommentLatestID.api.php rename to includes/api/CommentLatestIdAPI.php diff --git a/includes/api/CommentList.api.php b/includes/api/CommentListAPI.php similarity index 100% rename from includes/api/CommentList.api.php rename to includes/api/CommentListAPI.php diff --git a/includes/api/CommentSubmit.api.php b/includes/api/CommentSubmitAPI.php similarity index 100% rename from includes/api/CommentSubmit.api.php rename to includes/api/CommentSubmitAPI.php diff --git a/includes/api/CommentVote.api.php b/includes/api/CommentVoteAPI.php similarity index 100% rename from includes/api/CommentVote.api.php rename to includes/api/CommentVoteAPI.php diff --git a/includes/parser/CommentsOfTheDay.class.php b/includes/parser/CommentsOfTheDay.php similarity index 100% rename from includes/parser/CommentsOfTheDay.class.php rename to includes/parser/CommentsOfTheDay.php diff --git a/includes/parser/DisplayComments.class.php b/includes/parser/DisplayComments.php similarity index 100% rename from includes/parser/DisplayComments.class.php rename to includes/parser/DisplayComments.php diff --git a/includes/parser/NumberOfComments.class.php b/includes/parser/NumberOfComments.php similarity index 100% rename from includes/parser/NumberOfComments.class.php rename to includes/parser/NumberOfComments.php diff --git a/includes/specials/SpecialCommentIgnoreList.php b/includes/specials/CommentIgnoreList.php similarity index 100% rename from includes/specials/SpecialCommentIgnoreList.php rename to includes/specials/CommentIgnoreList.php