Skip to content

Allow PHPStan PHPDoc parser 2.0 #723

Allow PHPStan PHPDoc parser 2.0

Allow PHPStan PHPDoc parser 2.0 #723

Triggered via pull request November 25, 2024 08:19
Status Failure
Total duration 52s
Artifacts

static-analysis.yaml

on: pull_request
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 4 warnings
Static Analysis with PHPStan (8.0): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L61
Class PHPStan\PhpDocParser\Parser\ConstExprParser constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (8.0): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L62
Class PHPStan\PhpDocParser\Parser\TypeParser constructor invoked with 1 parameter, 2 required.
Static Analysis with PHPStan (8.0): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L63
Class PHPStan\PhpDocParser\Parser\PhpDocParser constructor invoked with 2 parameters, 3 required.
Static Analysis with PHPStan (8.0): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L64
Class PHPStan\PhpDocParser\Lexer\Lexer constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (8.0): tests/Fixtures/DataTrue.php#L9
Property JMS\Serializer\Tests\Fixtures\DataTrue::$data has unknown class JMS\Serializer\Tests\Fixtures\true as its type.
Static Analysis with PHPStan (8.0): tests/Fixtures/DataTrue.php#L12
Parameter $data of method JMS\Serializer\Tests\Fixtures\DataTrue::__construct() has invalid type JMS\Serializer\Tests\Fixtures\true.
Static Analysis with PHPStan (8.0)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L61
Class PHPStan\PhpDocParser\Parser\ConstExprParser constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (8.2): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L62
Class PHPStan\PhpDocParser\Parser\TypeParser constructor invoked with 1 parameter, 2 required.
Static Analysis with PHPStan (8.2): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L63
Class PHPStan\PhpDocParser\Parser\PhpDocParser constructor invoked with 2 parameters, 3 required.
Static Analysis with PHPStan (8.2): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L64
Class PHPStan\PhpDocParser\Lexer\Lexer constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
Static Analysis with PHPStan (7.4): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L61
Class PHPStan\PhpDocParser\Parser\ConstExprParser constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (7.4): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L62
Class PHPStan\PhpDocParser\Parser\TypeParser constructor invoked with 1 parameter, 2 required.
Static Analysis with PHPStan (7.4): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L63
Class PHPStan\PhpDocParser\Parser\PhpDocParser constructor invoked with 2 parameters, 3 required.
Static Analysis with PHPStan (7.4): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L64
Class PHPStan\PhpDocParser\Lexer\Lexer constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (7.4): tests/Fixtures/DataFalse.php#L9
Property JMS\Serializer\Tests\Fixtures\DataFalse::$data has unknown class JMS\Serializer\Tests\Fixtures\false as its type.
Static Analysis with PHPStan (7.4): tests/Fixtures/DataFalse.php#L12
Parameter $data of method JMS\Serializer\Tests\Fixtures\DataFalse::__construct() has invalid type JMS\Serializer\Tests\Fixtures\false.
Static Analysis with PHPStan (7.4): tests/Fixtures/DataTrue.php#L9
Property JMS\Serializer\Tests\Fixtures\DataTrue::$data has unknown class JMS\Serializer\Tests\Fixtures\true as its type.
Static Analysis with PHPStan (7.4): tests/Fixtures/DataTrue.php#L12
Parameter $data of method JMS\Serializer\Tests\Fixtures\DataTrue::__construct() has invalid type JMS\Serializer\Tests\Fixtures\true.
Static Analysis with PHPStan (7.4)
Process completed with exit code 1.
Static Analysis with PHPStan (8.1): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L61
Class PHPStan\PhpDocParser\Parser\ConstExprParser constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (8.1): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L62
Class PHPStan\PhpDocParser\Parser\TypeParser constructor invoked with 1 parameter, 2 required.
Static Analysis with PHPStan (8.1): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L63
Class PHPStan\PhpDocParser\Parser\PhpDocParser constructor invoked with 2 parameters, 3 required.
Static Analysis with PHPStan (8.1): src/Metadata/Driver/DocBlockDriver/DocBlockTypeResolver.php#L64
Class PHPStan\PhpDocParser\Lexer\Lexer constructor invoked with 0 parameters, 1 required.
Static Analysis with PHPStan (8.1): tests/Fixtures/DataTrue.php#L9
Property JMS\Serializer\Tests\Fixtures\DataTrue::$data has unknown class JMS\Serializer\Tests\Fixtures\true as its type.
Static Analysis with PHPStan (8.1): tests/Fixtures/DataTrue.php#L12
Parameter $data of method JMS\Serializer\Tests\Fixtures\DataTrue::__construct() has invalid type JMS\Serializer\Tests\Fixtures\true.
Static Analysis with PHPStan (8.1)
Process completed with exit code 1.
Static Analysis with PHPStan (8.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Analysis with PHPStan (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Analysis with PHPStan (7.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Analysis with PHPStan (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/