From 68e12a83c99f1594a5e601b934dc350ce91b8020 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Wed, 4 Nov 2020 06:46:23 +0000 Subject: [PATCH] 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: I0c7faa3794fae5ed0d4da5a58a9342177a9a5add --- .eslintrc.json | 5 ++++- .phpcs.xml | 2 +- composer.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 8839664..9db47a1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,4 +1,7 @@ { "root": true, - "extends": "wikimedia" + "extends": [ + "wikimedia", + "wikimedia/mediawiki" + ] } diff --git a/.phpcs.xml b/.phpcs.xml index 5b7a568..eddb6dc 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,6 +2,6 @@ . - + diff --git a/composer.json b/composer.json index 0971aa8..741f930 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "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",