mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
Merge "build: Enable phpcs rule 'Squiz.Classes.ValidClassName.NotCamelCaps' and make pass"
This commit is contained in:
commit
507c7f083a
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in a new issue