Skip to content

Update phpstan baseline for unmodeled search index structs #23

Update phpstan baseline for unmodeled search index structs

Update phpstan baseline for unmodeled search index structs #23

Triggered via push May 1, 2024 17:09
Status Failure
Total duration 1m 0s
Artifacts 2
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php#L52
Property Doctrine\ODM\MongoDB\Aggregation\Stage\Merge::$whenMatched type has no value type specified in iterable type array.
Static Analysis with PHPStan (8.2): lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php#L137
Method Doctrine\ODM\MongoDB\Aggregation\Stage\Merge::whenMatched() has parameter $whenMatched with no value type specified in iterable type array.
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
RedundantCondition: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L194
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php:194:13: RedundantCondition: Type SimpleXMLElement for $xmlRoot->search-indexes is always isset (see https://psalm.dev/122)
NoInterfaceProperties: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L194
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php:194:19: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
InvalidPropertyFetch: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L194
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php:194:19: InvalidPropertyFetch: Cannot fetch property on non-object $xmlRoot of type array{'root-class': mixed, ...<array-key, mixed>} (see https://psalm.dev/029)
Static Analysis with Psalm (8.2)
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
composer-lock-static-analysis-phpstan Expired
22.4 KB
composer-lock-static-analysis-psalm Expired
22.4 KB