Jforrester has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/249780

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, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/80/249780/1

diff --git a/maintenance/removeInvalidNotification.php 
b/maintenance/removeInvalidNotification.php
index c927157..4bb5bd5 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' );
diff --git a/maintenance/removeInvalidTargetPage.php 
b/maintenance/removeInvalidTargetPage.php
index 72c67b8..fe7d8ac 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();
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: newchange
Gerrit-Change-Id: I3d8b9c04ef2be3fe456c2c66bb10afa11ba0cd45
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to