From 5a076f94aa5ca5769c60325391b080be6cbd2705 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Thu, 29 Mar 2018 03:44:44 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 The following sniffs are failing and were disabled: * MediaWiki.Commenting.LicenseComment.InvalidLicenseTag The following sniffs now pass and were enabled: * MediaWiki.Commenting.FunctionComment.MissingParamComment Change-Id: Ia8000677263c4150d4900526bcba1c0602664b8e --- .phpcs.xml | 2 +- composer.json | 2 +- tests/MathCoverageTest.php | 2 +- tests/MathDatabaseTest.php | 2 +- tests/MathFormatterTest.php | 2 +- tests/MathHooksTest.php | 2 +- tests/MathIdTest.php | 2 +- tests/MathInputCheckRestbaseTest.php | 2 +- tests/MathInputCheckTest.php | 2 +- tests/MathInputCheckTexvcTest.php | 2 +- tests/MathLaTeXMLDatabaseTest.php | 2 +- tests/MathLaTeXMLTest.php | 2 +- tests/MathMathMLTest.php | 2 +- tests/MathRendererTest.php | 2 +- tests/MathRestbaseInterfaceTest.php | 2 +- tests/MathSourceTest.php | 2 +- tests/MathTexvcTest.php | 2 +- tests/MathValidatorTest.php | 2 +- tests/MathoidCliTest.php | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.phpcs.xml b/.phpcs.xml index 4d2316f..17ee240 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,8 +2,8 @@ - + diff --git a/composer.json b/composer.json index 34d46e4..650c499 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "16.0.1", + "mediawiki/mediawiki-codesniffer": "17.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.3.1" }, diff --git a/tests/MathCoverageTest.php b/tests/MathCoverageTest.php index 05abcf9..af319dc 100644 --- a/tests/MathCoverageTest.php +++ b/tests/MathCoverageTest.php @@ -22,7 +22,7 @@ * @group Extensions * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathCoverageTest extends MediaWikiTestCase { protected static $hasTexvc; diff --git a/tests/MathDatabaseTest.php b/tests/MathDatabaseTest.php index 2319cf6..c2b5456 100644 --- a/tests/MathDatabaseTest.php +++ b/tests/MathDatabaseTest.php @@ -8,7 +8,7 @@ * @group Math * @group Database //Used by needsDB * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathDatabaseTest extends MediaWikiTestCase { /** diff --git a/tests/MathFormatterTest.php b/tests/MathFormatterTest.php index 1d69bf3..fec365d 100644 --- a/tests/MathFormatterTest.php +++ b/tests/MathFormatterTest.php @@ -11,7 +11,7 @@ use Wikibase\Lib\SnakFormatter; * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathFormatterTest extends MediaWikiTestCase { diff --git a/tests/MathHooksTest.php b/tests/MathHooksTest.php index b5f3d59..5628683 100644 --- a/tests/MathHooksTest.php +++ b/tests/MathHooksTest.php @@ -5,7 +5,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathHooksTest extends MediaWikiTestCase { diff --git a/tests/MathIdTest.php b/tests/MathIdTest.php index 0f5e053..260f89c 100644 --- a/tests/MathIdTest.php +++ b/tests/MathIdTest.php @@ -7,7 +7,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathIdTest extends MediaWikiTestCase { diff --git a/tests/MathInputCheckRestbaseTest.php b/tests/MathInputCheckRestbaseTest.php index 4e565cb..fd85bff 100644 --- a/tests/MathInputCheckRestbaseTest.php +++ b/tests/MathInputCheckRestbaseTest.php @@ -3,7 +3,7 @@ /** * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathInputCheckRestbaseTest extends MediaWikiTestCase { protected static $hasRestbase; diff --git a/tests/MathInputCheckTest.php b/tests/MathInputCheckTest.php index cb7781d..82a8116 100644 --- a/tests/MathInputCheckTest.php +++ b/tests/MathInputCheckTest.php @@ -5,7 +5,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathInputCheckTest extends MediaWikiTestCase { /** diff --git a/tests/MathInputCheckTexvcTest.php b/tests/MathInputCheckTexvcTest.php index e71e44e..5808d1d 100644 --- a/tests/MathInputCheckTexvcTest.php +++ b/tests/MathInputCheckTexvcTest.php @@ -5,7 +5,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathInputCheckTexvcTest extends MediaWikiTestCase { diff --git a/tests/MathLaTeXMLDatabaseTest.php b/tests/MathLaTeXMLDatabaseTest.php index 7c179f5..7884c61 100644 --- a/tests/MathLaTeXMLDatabaseTest.php +++ b/tests/MathLaTeXMLDatabaseTest.php @@ -6,7 +6,7 @@ * @group Math * @group Database (Used by needsDB) * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathLaTeXMLDatabaseTest extends MediaWikiTestCase { public $renderer; diff --git a/tests/MathLaTeXMLTest.php b/tests/MathLaTeXMLTest.php index 6008959..c7cf29c 100644 --- a/tests/MathLaTeXMLTest.php +++ b/tests/MathLaTeXMLTest.php @@ -7,7 +7,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathLaTeXMLTest extends MediaWikiTestCase { diff --git a/tests/MathMathMLTest.php b/tests/MathMathMLTest.php index c7e954f..47a1c68 100644 --- a/tests/MathMathMLTest.php +++ b/tests/MathMathMLTest.php @@ -8,7 +8,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathMathMLTest extends MediaWikiTestCase { diff --git a/tests/MathRendererTest.php b/tests/MathRendererTest.php index f0d8845..04df5ea 100644 --- a/tests/MathRendererTest.php +++ b/tests/MathRendererTest.php @@ -7,7 +7,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathRendererTest extends MediaWikiTestCase { const SOME_TEX = "a+b"; diff --git a/tests/MathRestbaseInterfaceTest.php b/tests/MathRestbaseInterfaceTest.php index 9ab6f39..3fa23df 100644 --- a/tests/MathRestbaseInterfaceTest.php +++ b/tests/MathRestbaseInterfaceTest.php @@ -9,7 +9,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathRestbaseInterfaceTest extends MediaWikiTestCase { protected static $hasRestbase; diff --git a/tests/MathSourceTest.php b/tests/MathSourceTest.php index 06ca7b4..72487b2 100644 --- a/tests/MathSourceTest.php +++ b/tests/MathSourceTest.php @@ -7,7 +7,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathSourceTest extends MediaWikiTestCase { diff --git a/tests/MathTexvcTest.php b/tests/MathTexvcTest.php index 64c1fe8..396e38c 100644 --- a/tests/MathTexvcTest.php +++ b/tests/MathTexvcTest.php @@ -8,7 +8,7 @@ * @group Extensions * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathTexvcTest extends MediaWikiTestCase { diff --git a/tests/MathValidatorTest.php b/tests/MathValidatorTest.php index f5b6b90..edd05da 100644 --- a/tests/MathValidatorTest.php +++ b/tests/MathValidatorTest.php @@ -8,7 +8,7 @@ use DataValues\NumberValue; * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathValidatorTest extends MediaWikiTestCase { const VADLID_TEX = "a^2+b^2=c^2"; diff --git a/tests/MathoidCliTest.php b/tests/MathoidCliTest.php index 072da75..e13a495 100644 --- a/tests/MathoidCliTest.php +++ b/tests/MathoidCliTest.php @@ -5,7 +5,7 @@ * * @group Math * - * @licence GNU GPL v2+ + * @license GNU GPL v2+ */ class MathoidCliTest extends MediaWikiTestCase { private $goodInput = '\sin\left(\frac12x\right)';