build: Update mediawiki/mediawiki-codesniffer to 0.11.1

Change-Id: Ie1307df0f85cf0ccb7ad24961df7b63005f9c745
This commit is contained in:
Kunal Mehta 2017-08-16 01:37:58 -07:00
parent 2a5a8cebe0
commit cb2a80dab7
3 changed files with 3 additions and 3 deletions

View file

@ -234,7 +234,7 @@ class SimpleCaptcha {
$msg = wfMessage( $name );
// obtain a more tailored message, if possible, otherwise, fall back to
// the default for edits
return $msg->isDisabled() ? wfMessage( static::$messagePrefix . 'edit' ) : $msg;
return $msg->isDisabled() ? wfMessage( static::$messagePrefix . 'edit' ) : $msg;
}
/**

View file

@ -1,7 +1,7 @@
{
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "0.10.1",
"mediawiki/mediawiki-codesniffer": "0.11.1",
"jakub-onderka/php-console-highlighter": "0.3.2"
},
"scripts": {

View file

@ -162,7 +162,7 @@ class ConfirmEditHooks {
}
if ( $wgReCaptchaPublicKey == '' || $wgReCaptchaPrivateKey == '' ) {
die (
die(
'You need to set $wgReCaptchaPrivateKey and $wgReCaptchaPublicKey in LocalSettings.php to ' .
"use the reCAPTCHA plugin. You can sign up for a key <a href='" .
htmlentities( recaptcha_get_signup_url( $wgServerName, "mediawiki" ) ) .