build: Updating mediawiki/mediawiki-codesniffer to 33.0.0

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: I19196f86a18cc4be7ac9e24d8c84a2ed4c8121f4
This commit is contained in:
libraryupgrader 2020-11-04 13:51:39 +00:00
parent 58aea1a6af
commit f17b06db0a
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,7 @@
{
"root": true,
"extends": "wikimedia"
"extends": [
"wikimedia",
"wikimedia/mediawiki"
]
}

View file

@ -4,6 +4,6 @@
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>
<file>.</file>
<arg name="extensions" value="php,inc" />
<arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" />
</ruleset>

View file

@ -4,7 +4,7 @@
"wikimedia/css-sanitizer": "~2.0.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-codesniffer": "33.0.0",
"mediawiki/mediawiki-phan-config": "0.10.3",
"mediawiki/minus-x": "1.1.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",