jenkins-bot has submitted this change and it was merged.
Change subject: build: Enable phpcs rule
'Squiz.Classes.ValidClassName.NotCamelCaps' and make pass
......................................................................
build: Enable phpcs rule 'Squiz.Classes.ValidClassName.NotCamelCaps' and make
pass
Change-Id: I3d8b9c04ef2be3fe456c2c66bb10afa11ba0cd45
---
M maintenance/removeInvalidNotification.php
M maintenance/removeInvalidTargetPage.php
M phpcs.xml
3 files changed, 4 insertions(+), 5 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/removeInvalidNotification.php
b/maintenance/removeInvalidNotification.php
index c927157..d9c2751 100644
--- a/maintenance/removeInvalidNotification.php
+++ b/maintenance/removeInvalidNotification.php
@@ -13,7 +13,7 @@
*
* @ingroup Maintenance
*/
-class removeInvalidNotification extends Maintenance {
+class RemoveInvalidNotification extends Maintenance {
protected $batchSize = 500;
protected $invalidEventType = array( 'article-linked' );
@@ -78,5 +78,5 @@
}
}
-$maintClass = 'removeInvalidNotification'; // Tells it to run the class
+$maintClass = 'RemoveInvalidNotification'; // Tells it to run the class
require_once ( RUN_MAINTENANCE_IF_MAIN );
diff --git a/maintenance/removeInvalidTargetPage.php
b/maintenance/removeInvalidTargetPage.php
index 72c67b8..1555571 100644
--- a/maintenance/removeInvalidTargetPage.php
+++ b/maintenance/removeInvalidTargetPage.php
@@ -14,7 +14,7 @@
*
* @ingroup Maintenance
*/
-class removeInvalidTargetPage extends Maintenance {
+class RemoveInvalidTargetPage extends Maintenance {
public function __construct() {
parent::__construct();
@@ -109,5 +109,5 @@
}
}
-$maintClass = 'removeInvalidTargetPage'; // Tells it to run the class
+$maintClass = 'RemoveInvalidTargetPage'; // Tells it to run the class
require_once ( RUN_MAINTENANCE_IF_MAIN );
diff --git a/phpcs.xml b/phpcs.xml
index 77cb22d..6f03510 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -5,7 +5,6 @@
<exclude name="Generic.Files.LineLength"/>
<exclude
name="MediaWiki.VariableAnalysis.UnusedGlobalVariables"/>
<exclude
name="MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect"/>
- <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
</rule>
<arg name="encoding" value="utf8"/>
<arg name="extensions" value="php,php5,inc"/>
--
To view, visit https://gerrit.wikimedia.org/r/249780
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d8b9c04ef2be3fe456c2c66bb10afa11ba0cd45
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits