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:
libraryupgrader 2020-01-14 04:33:02 +00:00
parent 57b396a362
commit 54f6c6d87e
3 changed files with 6 additions and 5 deletions

View file

@ -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 "";
}

View file

@ -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": {

View file

@ -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. */