Merge "build: Enable phpcs rule 'Squiz.Classes.ValidClassName.NotCamelCaps' and make pass"

This commit is contained in:
jenkins-bot 2015-10-29 17:39:45 +00:00 committed by Gerrit Code Review
commit 507c7f083a
3 changed files with 4 additions and 5 deletions

View file

@ -13,7 +13,7 @@ require_once ( getenv( 'MW_INSTALL_PATH' ) !== false
*
* @ingroup Maintenance
*/
class removeInvalidNotification extends Maintenance {
class RemoveInvalidNotification extends Maintenance {
protected $batchSize = 500;
protected $invalidEventType = array( 'article-linked' );
@ -78,5 +78,5 @@ class removeInvalidNotification extends Maintenance {
}
}
$maintClass = 'removeInvalidNotification'; // Tells it to run the class
$maintClass = 'RemoveInvalidNotification'; // Tells it to run the class
require_once ( RUN_MAINTENANCE_IF_MAIN );

View file

@ -14,7 +14,7 @@ require_once ( getenv( 'MW_INSTALL_PATH' ) !== false
*
* @ingroup Maintenance
*/
class removeInvalidTargetPage extends Maintenance {
class RemoveInvalidTargetPage extends Maintenance {
public function __construct() {
parent::__construct();
@ -109,5 +109,5 @@ class removeInvalidTargetPage extends Maintenance {
}
}
$maintClass = 'removeInvalidTargetPage'; // Tells it to run the class
$maintClass = 'RemoveInvalidTargetPage'; // Tells it to run the class
require_once ( RUN_MAINTENANCE_IF_MAIN );

View file

@ -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"/>