Skip to content

Add cookbook entry for time series data #223

Add cookbook entry for time series data

Add cookbook entry for time series data #223

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

Annotations

5 errors
RedundantCondition: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L341
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php:341:13: RedundantCondition: Type SimpleXMLElement for $xmlRoot->also-load-methods is always isset (see https://psalm.dev/122)
RedundantCondition: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L347
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php:347:13: RedundantCondition: Type SimpleXMLElement for $xmlRoot->time-series is always isset (see https://psalm.dev/122)
InvalidArgument: tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php#L786
tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php:786:37: InvalidArgument: Argument 1 of Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::writeOptions expects array{background?: bool, bits?: int, default_language?: string, expireAfterSeconds?: int, language_override?: string, max?: float, min?: float, name?: string, partialFilterExpression?: array<array-key, mixed>, sparse?: bool, storageEngine?: array<array-key, mixed>, textIndexVersion?: int, unique?: bool, weights?: list{string, int}}, but array{background?: bool, bits?: int, default_language?: string, expireAfterSeconds: 86400, language_override?: string, max?: float, min?: float, name?: string, partialFilterExpression?: array<array-key, mixed>, sparse?: bool, storageEngine?: array<array-key, mixed>, textIndexVersion?: int, timeseries: array{granularity: enum(Doctrine\ODM\MongoDB\Mapping\TimeSeries\Granularity::Seconds), metaField: 'metadata', timeField: 'time'}, unique?: bool, weights?: list{string, int}} with additional array shape fields (timeseries) was provided (see https://psalm.dev/004)
UnusedBaselineEntry: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php#L1
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php:0:0: UnusedBaselineEntry: Baseline for issue "TypeDoesNotContainType" has 1 extra entry. (see https://psalm.dev/316)
Static Analysis with Psalm (8.2)
Process completed with exit code 2.

Artifacts

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