Skip to content

Commit 1e7a468

Browse files
committed
cs fix
1 parent d81c73f commit 1e7a468

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"phpstan/phpstan": "^1.10.19",
2020
"rector/rector": "^0.17.1",
2121
"symplify/easy-ci": "^11.2",
22-
"symplify/phpstan-extensions": "^11.2"
22+
"symplify/phpstan-extensions": "^11.2",
23+
"tomasvotruba/unused-public": "^0.1.12"
2324
},
2425
"autoload": {
2526
"psr-4": {

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ parameters:
1818
path: tests/bootstrap.php
1919
message: '#Instantiated class PHP_CodeSniffer\\Util\\Tokens not found#'
2020

21-
- '#Cannot call method (equals|isGivenKind|isComment|isWhitespace|getContent)\(\) on PhpCsFixer\\Tokenizer\\Token\|null#'
21+
#- '#Cannot call method (equals|isGivenKind|isComment|isWhitespace|getContent)\(\) on PhpCsFixer\\Tokenizer\\Token\|null#'
2222
- '#Constant T_OPEN_CURLY_BRACKET|T_START_NOWDOC not found#'
2323
- '#Parameter \#1 \$index of method PhpCsFixer\\Tokenizer\\Tokens\:\:getNextTokenOfKind\(\) expects int, int\|null given#'

src/TokenAnalyzer/Naming/MethodNameResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
use PhpCsFixer\Tokenizer\Token;
88
use PhpCsFixer\Tokenizer\Tokens;
99

10-
/**
11-
* @api
12-
*/
1310
final class MethodNameResolver
1411
{
1512
/**

src/TokenRunner/Traverser/ArrayBlockInfoFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function findArrayOpenerBlockInfos(Tokens $tokens): array
4444

4545
/**
4646
* @param Tokens<Token> $tokens
47-
* @return Token[]|null[]
47+
* @return Token[]
4848
*/
4949
private function reverseTokens(Tokens $tokens): array
5050
{

0 commit comments

Comments
 (0)