Skip to content

Commit 42122fb

Browse files
author
libraryupgrader
committed
build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0 The following sniffs now pass and were enabled: * MediaWiki.Commenting.RedundantVarName.Found * ockcyp/covers-validator: 1.3.3 → 1.4.0 * php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2 Change-Id: I43e7ee7cf0535f97da0cb7ac5617695bbe520147
1 parent 7e234b5 commit 42122fb

File tree

6 files changed

+23
-24
lines changed

6 files changed

+23
-24
lines changed

.phpcs.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
77
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected" />
88
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingVar" />
9-
<exclude name="MediaWiki.Commenting.RedundantVarName.Found" />
109
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
1110
</rule>
1211
<rule ref="Generic.PHP.NoSilencedErrors.Discouraged">

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"php": ">=7.2.9"
3030
},
3131
"require-dev": {
32-
"mediawiki/mediawiki-codesniffer": "38.0.0",
32+
"mediawiki/mediawiki-codesniffer": "39.0.0",
3333
"mediawiki/mediawiki-phan-config": "0.11.1",
3434
"mediawiki/minus-x": "1.1.1",
35-
"ockcyp/covers-validator": "1.3.3",
36-
"php-parallel-lint/php-console-highlighter": "0.5.0",
37-
"php-parallel-lint/php-parallel-lint": "1.3.1",
35+
"ockcyp/covers-validator": "1.4.0",
36+
"php-parallel-lint/php-console-highlighter": "1.0.0",
37+
"php-parallel-lint/php-parallel-lint": "1.3.2",
3838
"phpunit/phpunit": "^8.5"
3939
},
4040
"scripts": {

src/Cli.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@
2222
* @internal For use by bin/cdb only.
2323
*/
2424
final class Cli {
25-
/** @var int $exitCode */
25+
/** @var int */
2626
private $exitCode = 0;
2727

28-
/** @var resource $out */
28+
/** @var resource */
2929
private $out;
3030

31-
/** @var string $self */
31+
/** @var string */
3232
private $self;
3333

34-
/** @var string $filepath */
34+
/** @var string */
3535
private $filepath;
3636

37-
/** @var string $action */
37+
/** @var string */
3838
private $action;
3939

40-
/** @var string[] $params */
40+
/** @var string[] */
4141
private $params;
4242

4343
/**

src/Reader/Hash.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
* PHP array (a.k.a "hash").
2626
*/
2727
class Hash extends Reader {
28-
/** @var string[] $data */
28+
/** @var string[] */
2929
private $data;
3030

3131
/**
3232
* A queue of keys to return from nextkey(), initialized by firstkey();
3333
*
34-
* @var string[]|null $keys
34+
* @var string[]|null
3535
*/
3636
private $keys = null;
3737

src/Reader/PHP.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
class PHP extends Reader {
3232
/**
3333
* The file name of the CDB file.
34-
* @var string $fileName
34+
* @var string
3535
*/
3636
protected $fileName;
3737

@@ -41,50 +41,50 @@ class PHP extends Reader {
4141
protected $handle;
4242

4343
/**
44-
* @var string $index
44+
* @var string
4545
* First 2048 bytes of CDB file, containing pointers to hash table.
4646
*/
4747
protected $index;
4848

4949
/**
5050
* Offset in file where value of found key starts.
51-
* @var int $dataPos
51+
* @var int
5252
*/
5353
protected $dataPos;
5454

5555
/**
5656
* Byte length of found key's value.
57-
* @var int $dataLen
57+
* @var int
5858
*/
5959
protected $dataLen;
6060

6161
/**
6262
* File position indicator when iterating over keys.
63-
* @var int $keyIterPos
63+
* @var int
6464
*/
6565
protected $keyIterPos = 2048;
6666

6767
/**
6868
* Offset in file where hash tables start.
69-
* @var int $keyIterStop
69+
* @var int
7070
*/
7171
protected $keyIterStop;
7272

7373
/**
7474
* Read buffer for CDB file.
75-
* @var string $buf
75+
* @var string
7676
*/
7777
protected $buf;
7878

7979
/**
8080
* File offset where read buffer starts.
81-
* @var int $bufStart
81+
* @var int
8282
*/
8383
protected $bufStart;
8484

8585
/**
8686
* File handle position indicator.
87-
* @var int $filePos
87+
* @var int
8888
*/
8989
protected $filePos = 2048;
9090

src/Writer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
abstract class Writer {
2828
/**
2929
* File we'll be writing to when we're done
30-
* @var string $realFileName
30+
* @var string
3131
*/
3232
protected $realFileName;
3333

3434
/**
3535
* File we write to temporarily until we're done
36-
* @var string $tmpFileName
36+
* @var string
3737
*/
3838
protected $tmpFileName;
3939

0 commit comments

Comments
 (0)