mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-12-18 17:23:11 +00:00
Upgrade mediawiki-codesniffer for php7.3 support
Bug: T236070 Change-Id: I69a3c8a43c36f3389f7c575c26e9b5a7c358896e
This commit is contained in:
parent
a027ec972c
commit
2b6c376414
|
@ -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"
|
||||||
|
|
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue