Skip to content

Cleanup

Cleanup #964

Triggered via pull request August 6, 2023 16:42
Status Failure
Total duration 1m 32s
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

9 errors and 2 warnings
Static Analysis with PHPStan (8.2): 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.2): lib/Doctrine/ODM/MongoDB/Proxy/Factory/StaticProxyFactory.php#L106
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.2)
Process completed with exit code 1.
UnsupportedPropertyReferenceUsage: lib/Doctrine/ODM/MongoDB/Query/Expr.php#L1139
lib/Doctrine/ODM/MongoDB/Query/Expr.php:1139:9: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
UnsupportedPropertyReferenceUsage: lib/Doctrine/ODM/MongoDB/Query/Expr.php#L1398
lib/Doctrine/ODM/MongoDB/Query/Expr.php:1398:13: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
UnsupportedPropertyReferenceUsage: lib/Doctrine/ODM/MongoDB/Query/Expr.php#L1400
lib/Doctrine/ODM/MongoDB/Query/Expr.php:1400:13: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
UnsupportedPropertyReferenceUsage: tests/Doctrine/ODM/MongoDB/Tests/Events/PreLoadEventArgsTest.php#L20
tests/Doctrine/ODM/MongoDB/Tests/Events/PreLoadEventArgsTest.php:20:9: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
UnsupportedPropertyReferenceUsage: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM43Test.php#L59
tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM43Test.php:59:9: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
Static Analysis with Psalm (8.1)
Process completed with exit code 2.
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
206 KB