add support for phpstan/phpdoc-parser 2 #153
integrate.yaml
on: pull_request
Unit test
/
Supported Versions Matrix
3s
Code Coverage
/
Code Coverage
17s
Matrix: Coding Standards / Coding Standards
Matrix: Dependency analysis / Dependency Analysis
Matrix: Lint root / Lint yaml & Composer
Matrix: Static analysis / Static Code Analysis
Matrix: Unit test / Tests
Annotations
6 errors
MixedAssignment:
src/TypeResolver.php#L195
src/TypeResolver.php:195:13: MixedAssignment: Unable to determine the type that $parserConfig is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/TypeResolver.php#L196
src/TypeResolver.php:196:48: MixedArgument: Argument 1 of PHPStan\PhpDocParser\Parser\TypeParser::__construct cannot be mixed, expecting PHPStan\PhpDocParser\Parser\ConstExprParser|null (see https://psalm.dev/030)
|
InvalidArgument:
src/TypeResolver.php#L196
src/TypeResolver.php:196:63: InvalidArgument: Argument 2 of PHPStan\PhpDocParser\Parser\TypeParser::__construct expects bool, but PHPStan\PhpDocParser\Parser\ConstExprParser provided (see https://psalm.dev/004)
|
MixedArgument:
src/TypeResolver.php#L196
src/TypeResolver.php:196:83: MixedArgument: Argument 1 of PHPStan\PhpDocParser\Parser\ConstExprParser::__construct cannot be mixed, expecting bool (see https://psalm.dev/030)
|
InvalidArgument:
src/TypeResolver.php#L197
src/TypeResolver.php:197:38: InvalidArgument: Argument 1 of PHPStan\PhpDocParser\Lexer\Lexer::__construct expects bool, but PHPStan\PhpDocParser\Parser\ConstExprParser|null provided (see https://psalm.dev/004)
|
Static analysis / Static Code Analysis (8.0)
Process completed with exit code 2.
|