mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-17 17:50:32 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled: * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage The following sniffs now pass and were enabled: * MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). * Removed globals `mw`, `OO`, `require`, included via `wikimedia/mediawiki` profile (T262222). Change-Id: I299ad0beaf55d31f8929ddfad1730ecef3b6aa92
This commit is contained in:
parent
1db28df096
commit
e40014764a
|
@ -2,16 +2,14 @@
|
|||
"root": true,
|
||||
"extends": [
|
||||
"wikimedia/client",
|
||||
"wikimedia/jquery"
|
||||
"wikimedia/jquery",
|
||||
"wikimedia/mediawiki"
|
||||
],
|
||||
"globals": {
|
||||
"ve": true,
|
||||
"VisualEditorSupportCheck": false,
|
||||
"OO": false,
|
||||
"unicodeJS": false,
|
||||
"RangeFix": false,
|
||||
"Papa": false,
|
||||
"mw": false,
|
||||
"require": false
|
||||
"Papa": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
||||
<exclude name="MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,inc" />
|
||||
<arg name="extensions" value="php" />
|
||||
<arg name="encoding" value="UTF-8" />
|
||||
</ruleset>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "32.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.3",
|
||||
"mediawiki/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
|
|
Loading…
Reference in a new issue