Update phpstan baseline for unmodeled search index structs #23
static-analysis.yml
on: push
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
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 |
|