Skip to content

Commit be32770

Browse files
committed
fix phpstan/phpcs issues
1 parent 8fa1b09 commit be32770

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Reflection/SignatureMap/Php8SignatureMapProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use function explode;
3030
use function is_string;
3131
use function sprintf;
32+
use function str_contains;
3233
use function strtolower;
3334

3435
class Php8SignatureMapProvider implements SignatureMapProvider

src/Rules/FunctionCallParametersCheck.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
use PHPStan\Type\VerbosityLevel;
2828
use function array_fill;
2929
use function array_key_exists;
30+
use function array_pop;
3031
use function count;
3132
use function implode;
3233
use function is_string;

src/Rules/PhpDoc/InvalidPHPStanDocTagRule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class InvalidPHPStanDocTagRule implements Rule
5858
'@phpstan-param-immediately-invoked-callable',
5959
'@phpstan-param-later-invoked-callable',
6060
'@phpstan-param-closure-this',
61+
'@phpstan-skip-php8-stubs',
6162
];
6263

6364
public function __construct(

0 commit comments

Comments
 (0)