mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes: * Also sorted "composer fix" command to run phpcbf last. Change-Id: Iba0ed9df5be4a7fbedce377556c87d42bddfb509
This commit is contained in:
parent
57b396a362
commit
54f6c6d87e
|
@ -1088,7 +1088,7 @@ class SimpleCaptcha {
|
|||
*/
|
||||
private function loadText( $title, $section, $flags = Revision::READ_LATEST ) {
|
||||
$rev = Revision::newFromTitle( $title, 0, $flags );
|
||||
if ( is_null( $rev ) ) {
|
||||
if ( $rev === null ) {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "1.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "29.0.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/minus-x": "0.3.2",
|
||||
"mediawiki/mediawiki-phan-config": "0.9.0"
|
||||
|
@ -13,8 +13,8 @@
|
|||
"minus-x check ."
|
||||
],
|
||||
"fix": [
|
||||
"phpcbf",
|
||||
"minus-x fix ."
|
||||
"minus-x fix .",
|
||||
"phpcbf"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
|
|
|
@ -12,7 +12,8 @@ class CaptchaAuthenticationRequest extends AuthenticationRequest {
|
|||
public $captchaId;
|
||||
|
||||
/** @var array Information about the captcha (e.g. question text; solution). Exact semantics
|
||||
* differ between types. */
|
||||
* differ between types.
|
||||
*/
|
||||
public $captchaData;
|
||||
|
||||
/** @var string Captcha solution submitted by the user. */
|
||||
|
|
Loading…
Reference in a new issue