Update to mediawiki-codesniffer 0.6.0
Change-Id: I2a1a74c771bc00f6c1569568dfcf474f06714426
This commit is contained in:
parent
950c0596ca
commit
6f7bcaf2c6
|
@ -75,7 +75,6 @@ class MathInputCheckRestbase extends MathInputCheck {
|
|||
return $this->restbaseInterface->getCheckedTex();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the string of the last error.
|
||||
* @return string
|
||||
|
|
|
@ -195,7 +195,6 @@ class MathLaTeXML extends MathMathML {
|
|||
return $res;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the SVG image
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -163,7 +163,6 @@ class MathRestbaseInterface {
|
|||
return $serviceClient;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The URL is generated accoding to the following logic:
|
||||
*
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* @file
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Takes LaTeX fragments and outputs the source directly to the browser
|
||||
*
|
||||
|
|
|
@ -478,5 +478,4 @@ class MathTexvc extends MathRenderer {
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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": [
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -68,7 +68,6 @@ class MathInputCheckRestbaseTest extends MediaWikiTestCase {
|
|||
$this->assertContains( $expectedMessage, $o->getError() );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @covers MathInputCheckRestbase::isValid
|
||||
*/
|
||||
|
|
|
@ -85,5 +85,4 @@ class MathRestbaseInterfaceTest extends MediaWikiTestCase {
|
|||
$rbi->getFullSvgUrl();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue