Skip to content

Cleanup

Cleanup #962

Triggered via pull request August 4, 2023 09:15
Status Failure
Total duration 1m 33s
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

20 errors and 8 warnings
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php#L284
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php:284:22: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Field.php#L20
lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Field.php:20:14: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Field.php#L25
lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Field.php:25:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L580
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:580:19: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L582
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:582:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1490
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1490:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1546
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1546:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1559
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1559:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1572
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1572:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L1585
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php:1585:21: UndefinedDocblockClass: Docblock-defined class, interface or enum named BackedEnum does not exist (see https://psalm.dev/200)
Static Analysis with PHPStan (8.0): lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L2389
Call to an undefined method ReflectionEnum::isBacked().
Static Analysis with PHPStan (8.0): lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php#L2608
Call to an undefined method ReflectionEnum::getBackingType().
Static Analysis with PHPStan (8.0): lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L295
Parameter #2 $mapping of method Doctrine\ODM\MongoDB\Mapping\Driver\XmlDriver::addFieldMapping() expects array{type?: string, fieldName?: string, name?: string, strategy?: string, association?: int, id?: bool, isOwningSide?: bool, collectionClass?: class-string, ...}, array<string, non-empty-array<int, string>|bool|string> given.
Static Analysis with PHPStan (8.0): lib/Doctrine/ODM/MongoDB/Proxy/Factory/StaticProxyFactory.php#L98
Method Doctrine\ODM\MongoDB\Proxy\Factory\StaticProxyFactory::createInitializer() should return Closure(ProxyManager\Proxy\GhostObjectInterface<TDocument>&TDocument=, string=, array<string, mixed>=, Closure|null=, array<string, mixed>=): bool but returns Closure(ProxyManager\Proxy\GhostObjectInterface, string, array, mixed, array): true.
Static Analysis with PHPStan (8.0): tests/Doctrine/ODM/MongoDB/Tests/Functional/EnumTest.php#L25
Access to constant Clubs on an unknown class Documents81\Suit.
Static Analysis with PHPStan (8.0): tests/Doctrine/ODM/MongoDB/Tests/Functional/EnumTest.php#L34
Access to constant Clubs on an unknown class Documents81\Suit.
Static Analysis with PHPStan (8.0): tests/Doctrine/ODM/MongoDB/Tests/Functional/EnumTest.php#L55
Access to constant Spades on an unknown class Documents81\Suit.
Static Analysis with PHPStan (8.0): tests/Doctrine/ODM/MongoDB/Tests/Functional/EnumTest.php#L56
Access to constant Diamonds on an unknown class Documents81\Suit.
Static Analysis with PHPStan (8.0): tests/Doctrine/ODM/MongoDB/Tests/Functional/EnumTest.php#L56
Access to constant Hearts on an unknown class Documents81\Suit.
Static Analysis with Psalm (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1, 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.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis with Psalm (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis with Psalm (8.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis with PHPStan (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, ramsey/composer-install@v1, 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 PHPStan (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis with PHPStan (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis with PHPStan (8.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
composer.lock Expired
208 KB