mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 15:44:33 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I4385a05df9b40d4da19f280bd211e8c261d22c41
This commit is contained in:
parent
5581b9779a
commit
2587469834
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||||
"mediawiki/mediawiki-codesniffer": "18.0.0",
|
"mediawiki/mediawiki-codesniffer": "20.0.0",
|
||||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||||
"mediawiki/minus-x": "0.3.1"
|
"mediawiki/minus-x": "0.3.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -312,7 +312,7 @@ class MathHooks {
|
||||||
/**
|
/**
|
||||||
* LoadExtensionSchemaUpdates handler; set up math table on install/upgrade.
|
* LoadExtensionSchemaUpdates handler; set up math table on install/upgrade.
|
||||||
*
|
*
|
||||||
* @param DatabaseUpdater $updater
|
* @param DatabaseUpdater|null $updater
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,7 +16,7 @@ class MathInputCheckRestbase extends MathInputCheck {
|
||||||
* (performs no checking)
|
* (performs no checking)
|
||||||
* @param string $tex the TeX input string to be checked
|
* @param string $tex the TeX input string to be checked
|
||||||
* @param string $type
|
* @param string $type
|
||||||
* @param MathRestbaseInterface &$ref
|
* @param MathRestbaseInterface|null &$ref
|
||||||
*/
|
*/
|
||||||
public function __construct( $tex = '', $type = 'tex', &$ref = null ) {
|
public function __construct( $tex = '', $type = 'tex', &$ref = null ) {
|
||||||
parent::__construct( $tex );
|
parent::__construct( $tex );
|
||||||
|
@ -31,7 +31,7 @@ class MathInputCheckRestbase extends MathInputCheck {
|
||||||
/**
|
/**
|
||||||
* @see https://phabricator.wikimedia.org/T119300
|
* @see https://phabricator.wikimedia.org/T119300
|
||||||
* @param stdClass $e
|
* @param stdClass $e
|
||||||
* @param MathRenderer $errorRenderer
|
* @param MathRenderer|null $errorRenderer
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function errorObjectToHtml( stdClass $e, $errorRenderer = null ) {
|
public function errorObjectToHtml( stdClass $e, $errorRenderer = null ) {
|
||||||
|
|
|
@ -111,7 +111,7 @@ class MathMathMLCli extends MathMathML {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param mixed $req request
|
* @param mixed $req request
|
||||||
* @param int &$exitCode exit code
|
* @param int|null &$exitCode exit code
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws MWException
|
* @throws MWException
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -329,7 +329,7 @@ abstract class MathRenderer {
|
||||||
* to the database even if they are empty.
|
* to the database even if they are empty.
|
||||||
*
|
*
|
||||||
* This function can be seen as protected function.
|
* This function can be seen as protected function.
|
||||||
* @param \Wikimedia\Rdbms\IDatabase $dbw
|
* @param \Wikimedia\Rdbms\IDatabase|null $dbw
|
||||||
*/
|
*/
|
||||||
public function writeToDatabase( $dbw = null ) {
|
public function writeToDatabase( $dbw = null ) {
|
||||||
# Now save it back to the DB:
|
# Now save it back to the DB:
|
||||||
|
|
Loading…
Reference in a new issue