mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-27 09:30:09 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). Change-Id: Idd3ffe9a119b6288ab1eeb1fffd9e3a3385d4624
This commit is contained in:
parent
98e9e46930
commit
520ac63cee
|
@ -1,4 +1,7 @@
|
||||||
{
|
{
|
||||||
"root": true,
|
"root": true,
|
||||||
"extends": "wikimedia"
|
"extends": [
|
||||||
|
"wikimedia",
|
||||||
|
"wikimedia/mediawiki"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
||||||
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,inc" />
|
<arg name="extensions" value="php" />
|
||||||
<arg name="encoding" value="UTF-8" />
|
<arg name="encoding" value="UTF-8" />
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
||||||
"mediawiki/mediawiki-phan-config": "0.10.3",
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
||||||
"mediawiki/minus-x": "1.1.0",
|
"mediawiki/minus-x": "1.1.0",
|
||||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||||
|
|
Loading…
Reference in a new issue