Skip to content

PHPLIB-1627: BulkWriteCommand API #2363

PHPLIB-1627: BulkWriteCommand API

PHPLIB-1627: BulkWriteCommand API #2363

Triggered via pull request March 4, 2025 13:46
Status Failure
Total duration 2m 3s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
UndefinedClass: src/BulkWriteCommandBuilder.php#L16
src/BulkWriteCommandBuilder.php:16:13: UndefinedClass: Class, interface or enum named MongoDB\Driver\BulkWriteCommand does not exist (see https://psalm.dev/019)
MixedAssignment: src/BulkWriteCommandBuilder.php#L42
src/BulkWriteCommandBuilder.php:42:9: MixedAssignment: Unable to determine the type that $this->bulkWriteCommand is being assigned to (see https://psalm.dev/032)
UndefinedClass: src/BulkWriteCommandBuilder.php#L42
src/BulkWriteCommandBuilder.php:42:39: UndefinedClass: Class, interface or enum named MongoDB\Driver\BulkWriteCommand does not exist (see https://psalm.dev/019)
MixedAssignment: src/BulkWriteCommandBuilder.php#L66
src/BulkWriteCommandBuilder.php:66:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
UndefinedClass: src/BulkWriteCommandBuilder.php#L76
src/BulkWriteCommandBuilder.php:76:9: UndefinedClass: Class, interface or enum named MongoDB\Driver\BulkWriteCommand does not exist (see https://psalm.dev/019)
MixedAssignment: src/BulkWriteCommandBuilder.php#L83
src/BulkWriteCommandBuilder.php:83:9: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
UndefinedClass: src/BulkWriteCommandBuilder.php#L93
src/BulkWriteCommandBuilder.php:93:9: UndefinedClass: Class, interface or enum named MongoDB\Driver\BulkWriteCommand does not exist (see https://psalm.dev/019)
PossiblyInvalidArgument: src/BulkWriteCommandBuilder.php#L101
src/BulkWriteCommandBuilder.php:101:46: PossiblyInvalidArgument: Argument 1 of MongoDB\Codec\DocumentCodec::encode expects object, but possibly different type array<array-key, mixed>|object provided (see https://psalm.dev/092)
MixedAssignment: src/BulkWriteCommandBuilder.php#L105
src/BulkWriteCommandBuilder.php:105:9: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
UndefinedClass: src/BulkWriteCommandBuilder.php#L105
src/BulkWriteCommandBuilder.php:105:15: UndefinedClass: Class, interface or enum named MongoDB\Driver\BulkWriteCommand does not exist (see https://psalm.dev/019)