Update to mediawiki-codesniffer 0.6.0

Change-Id: I2a1a74c771bc00f6c1569568dfcf474f06714426
This commit is contained in:
physikerwelt 2016-04-19 17:07:21 -04:00
parent 950c0596ca
commit 6f7bcaf2c6
10 changed files with 1 additions and 13 deletions

View File

@ -75,7 +75,6 @@ class MathInputCheckRestbase extends MathInputCheck {
return $this->restbaseInterface->getCheckedTex();
}
/**
* Returns the string of the last error.
* @return string

View File

@ -195,7 +195,6 @@ class MathLaTeXML extends MathMathML {
return $res;
}
/**
* Gets the SVG image
*

View File

@ -247,7 +247,6 @@ abstract class MathRenderer {
return $this->inputHash;
}
/**
* Decode binary packed hash from the database to md5 of input_tex
* @param string $hash (binary)
@ -403,7 +402,6 @@ abstract class MathRenderer {
return $attribs;
}
/**
* Writes cache. Writes the database entry if values were changed
*/
@ -670,13 +668,11 @@ abstract class MathRenderer {
return array_map( "MathHooks::mathModeToString", $wgMathValidModes );
}
public static function getDisableTexFilter() {
global $wgMathDisableTexFilter;
return MathHooks::mathCheckToString( $wgMathDisableTexFilter );
}
/**
* @param string $inputType
*/

View File

@ -163,7 +163,6 @@ class MathRestbaseInterface {
return $serviceClient;
}
/**
* The URL is generated accoding to the following logic:
*

View File

@ -9,7 +9,6 @@
* @file
*/
/**
* Takes LaTeX fragments and outputs the source directly to the browser
*

View File

@ -478,5 +478,4 @@ class MathTexvc extends MathRenderer {
return true;
}
}

View File

@ -1,7 +1,7 @@
{
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "0.5.1"
"mediawiki/mediawiki-codesniffer": "0.6.0"
},
"scripts": {
"test": [

View File

@ -21,7 +21,6 @@ class MathDatabaseTest extends MediaWikiTestCase {
const SOME_CONSERVATIVENESS = 2;
const SOME_OUTPUTHASH = 'C65c884f742c8591808a121a828bc09f8<';
/**
* creates a new database connection and a new math renderer
* TODO: Check if there is a way to get database access without creating

View File

@ -68,7 +68,6 @@ class MathInputCheckRestbaseTest extends MediaWikiTestCase {
$this->assertContains( $expectedMessage, $o->getError() );
}
/**
* @covers MathInputCheckRestbase::isValid
*/

View File

@ -85,5 +85,4 @@ class MathRestbaseInterfaceTest extends MediaWikiTestCase {
$rbi->getFullSvgUrl();
}
}