Skip to content

Require PHP 8.1

Require PHP 8.1 #997

Triggered via pull request October 23, 2023 21:54
Status Failure
Total duration 1m 42s
Artifacts 1

static-analysis.yml

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

Annotations

3 errors and 2 warnings
Static Analysis with PHPStan (8.2): tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php#L240
Parameter #1 $mapping of method Doctrine\ODM\MongoDB\Mapping\ClassMetadata<class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php:229>::mapField() expects array{type?: string, fieldName?: string, name?: string, strategy?: string, association?: int, id?: bool, isOwningSide?: bool, collectionClass?: class-string, ...}, array{fieldName: 'enum', enumType: 'Documents\\Card'} given.
Static Analysis with PHPStan (8.2): tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php#L259
Parameter #1 $mapping of method Doctrine\ODM\MongoDB\Mapping\ClassMetadata<class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php:248>::mapField() expects array{type?: string, fieldName?: string, name?: string, strategy?: string, association?: int, id?: bool, isOwningSide?: bool, collectionClass?: class-string, ...}, array{fieldName: 'enum', enumType: 'Documents\\SuitNonBacked'} given.
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with Psalm (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
composer.lock Expired
212 KB