mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-23 13:56:53 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate Additional changes: * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). Change-Id: Ibaf2ade250d030974492a05c839ad2adf9765572
This commit is contained in:
parent
b55c007807
commit
d01963f06e
|
@ -1,6 +1,9 @@
|
|||
{
|
||||
"root": true,
|
||||
"extends": "wikimedia",
|
||||
"extends": [
|
||||
"wikimedia",
|
||||
"wikimedia/mediawiki"
|
||||
],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"jquery": true
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,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/minus-x": "1.1.0",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
|
|
Loading…
Reference in a new issue