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
This commit is contained in:
parent
792a3195e2
commit
5a076f94aa
|
@ -2,8 +2,8 @@
|
|||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
|
||||
<exclude name="MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" />
|
||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* @group Extensions
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathCoverageTest extends MediaWikiTestCase {
|
||||
protected static $hasTexvc;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @group Math
|
||||
* @group Database //Used by needsDB
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathDatabaseTest extends MediaWikiTestCase {
|
||||
/**
|
||||
|
|
|
@ -11,7 +11,7 @@ use Wikibase\Lib\SnakFormatter;
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathFormatterTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathHooksTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathIdTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathInputCheckRestbaseTest extends MediaWikiTestCase {
|
||||
protected static $hasRestbase;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathInputCheckTest extends MediaWikiTestCase {
|
||||
/**
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathInputCheckTexvcTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathLaTeXMLTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathMathMLTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathRendererTest extends MediaWikiTestCase {
|
||||
const SOME_TEX = "a+b";
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathRestbaseInterfaceTest extends MediaWikiTestCase {
|
||||
protected static $hasRestbase;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathSourceTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @group Extensions
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathTexvcTest extends MediaWikiTestCase {
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @group Math
|
||||
*
|
||||
* @licence GNU GPL v2+
|
||||
* @license GNU GPL v2+
|
||||
*/
|
||||
class MathoidCliTest extends MediaWikiTestCase {
|
||||
private $goodInput = '\sin\left(\frac12x\right)';
|
||||
|
|
Loading…
Reference in New Issue