Upgrade mediawiki-codesniffer for php7.3 support

Bug: T236070
Change-Id: I69a3c8a43c36f3389f7c575c26e9b5a7c358896e
This commit is contained in:
Reedy 2020-11-10 21:11:33 +00:00
parent a027ec972c
commit 2b6c376414
2 changed files with 2 additions and 2 deletions

View file

@ -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": "19.1.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",
"mediawiki/mediawiki-phan-config": "0.2.0" "mediawiki/mediawiki-phan-config": "0.2.0"

View file

@ -25,7 +25,7 @@ class ReplaceTextUtils {
/** /**
* Shim for compatibility * Shim for compatibility
* @param Title $title to link to * @param Title $title to link to
* @param string $text to show * @param string|null $text to show
* @return string HTML for link * @return string HTML for link
*/ */
public static function link( Title $title, $text = null ) { public static function link( Title $title, $text = null ) {