build: Updating mediawiki/mediawiki-codesniffer to 33.0.0

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).

Change-Id: Ie0082065db3abe1f740a0b983ece371ea2d3cfd0
This commit is contained in:
libraryupgrader 2020-11-04 14:30:25 +00:00
parent 491131f3c2
commit cb63494eed
3 changed files with 5 additions and 5 deletions

View file

@ -7,6 +7,6 @@
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>
<file>.</file>
<arg name="extensions" value="php,inc" />
<arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" />
</ruleset>

View file

@ -1,6 +1,6 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-codesniffer": "33.0.0",
"mediawiki/mediawiki-phan-config": "0.10.3",
"mediawiki/minus-x": "1.1.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",

View file

@ -4,20 +4,20 @@ class SpecialThanks extends FormSpecialPage {
/**
* API result
* @var array $result
* @var array
*/
protected $result;
/**
* 'rev' for revision, 'log' for log entry, or 'flow' for Flow comment,
* null if no ID is specified
* @var string|null $type
* @var string|null
*/
protected $type;
/**
* Revision or Log ID ('0' = invalid) or Flow UUID
* @var string $id
* @var string
*/
protected $id;