Skip to content

PHPLIB-955: Require PHP 8.1 #1597

PHPLIB-955: Require PHP 8.1

PHPLIB-955: Require PHP 8.1 #1597

Triggered via pull request September 4, 2024 13:47
Status Failure
Total duration 1m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
TypeDoesNotContainType: src/Operation/FindOneAndUpdate.php#L115
src/Operation/FindOneAndUpdate.php:115:13: TypeDoesNotContainType: Type object for $update is always !object (see https://psalm.dev/056)
TypeDoesNotContainType: src/Operation/MapReduce.php#L160
src/Operation/MapReduce.php:160:13: TypeDoesNotContainType: Type object for $out is always !object (see https://psalm.dev/056)
TypeDoesNotContainType: src/Operation/Update.php#L116
src/Operation/Update.php:116:13: TypeDoesNotContainType: Type object for $update is always !object (see https://psalm.dev/056)
TypeDoesNotContainType: src/Operation/UpdateMany.php#L86
src/Operation/UpdateMany.php:86:13: TypeDoesNotContainType: Type object for $update is always !object (see https://psalm.dev/056)
TypeDoesNotContainType: src/Operation/UpdateOne.php#L86
src/Operation/UpdateOne.php:86:13: TypeDoesNotContainType: Type object for $update is always !object (see https://psalm.dev/056)
TypeDoesNotContainType: src/Operation/Watch.php#L410
src/Operation/Watch.php:410:13: TypeDoesNotContainType: Type object for $resumeToken is always !object (see https://psalm.dev/056)
TypeDoesNotContainType: src/functions.php#L156
src/functions.php:156:11: TypeDoesNotContainType: Type array<array-key, mixed> for $document is always !array<array-key, mixed> (see https://psalm.dev/056)
Psalm
Process completed with exit code 2.