mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 01:10:07 +00:00
cb82edfe94
Disabling: * Generic.Files.LineLength * Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma * Generic.PHP.ForbiddenFunctions.FoundWithAlternative * MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix * MediaWiki.Usage.DirUsage.FunctionFound * MediaWiki.VariableAnalysis.UnusedGlobalVariables * MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect * MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment * PSR2.Classes.PropertyDeclaration.ScopeMissing * PSR2.Classes.PropertyDeclaration.VarUsed * PSR2.Methods.MethodDeclaration.AbstractAfterVisibility * PSR2.Methods.MethodDeclaration.StaticBeforeVisibility * Squiz.Classes.ValidClassName.NotCamelCaps * Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect Disabled rules will be enabled individually in follow-up patches. Bug: T101074 Change-Id: I1d52d891eb8e4f5877d1f1f3fa3aa9fc28dff004
13 lines
253 B
JSON
13 lines
253 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9",
|
|
"mediawiki/mediawiki-codesniffer": "0.5.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude includes/iterator/CallbackFilterIterator.php",
|
|
"phpcs"
|
|
]
|
|
}
|
|
}
|