build: Updating mediawiki/mediawiki-codesniffer to 20.0.0

Change-Id: I4385a05df9b40d4da19f280bd211e8c261d22c41
This commit is contained in:
libraryupgrader 2018-05-26 04:26:21 +00:00
parent 5581b9779a
commit 2587469834
5 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{
"require-dev": {
"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",
"mediawiki/minus-x": "0.3.1"
},

View File

@ -312,7 +312,7 @@ class MathHooks {
/**
* LoadExtensionSchemaUpdates handler; set up math table on install/upgrade.
*
* @param DatabaseUpdater $updater
* @param DatabaseUpdater|null $updater
* @throws Exception
* @return bool
*/

View File

@ -16,7 +16,7 @@ class MathInputCheckRestbase extends MathInputCheck {
* (performs no checking)
* @param string $tex the TeX input string to be checked
* @param string $type
* @param MathRestbaseInterface &$ref
* @param MathRestbaseInterface|null &$ref
*/
public function __construct( $tex = '', $type = 'tex', &$ref = null ) {
parent::__construct( $tex );
@ -31,7 +31,7 @@ class MathInputCheckRestbase extends MathInputCheck {
/**
* @see https://phabricator.wikimedia.org/T119300
* @param stdClass $e
* @param MathRenderer $errorRenderer
* @param MathRenderer|null $errorRenderer
* @return string
*/
public function errorObjectToHtml( stdClass $e, $errorRenderer = null ) {

View File

@ -111,7 +111,7 @@ class MathMathMLCli extends MathMathML {
/**
* @param mixed $req request
* @param int &$exitCode exit code
* @param int|null &$exitCode exit code
* @return mixed
* @throws MWException
*/

View File

@ -329,7 +329,7 @@ abstract class MathRenderer {
* to the database even if they are empty.
*
* This function can be seen as protected function.
* @param \Wikimedia\Rdbms\IDatabase $dbw
* @param \Wikimedia\Rdbms\IDatabase|null $dbw
*/
public function writeToDatabase( $dbw = null ) {
# Now save it back to the DB: