PHPLIB-1254 Create Yaml for all operators and stages #993
Annotations
10 errors
ArgumentTypeCoercion:
src/Builder/Accumulator.php#L28
src/Builder/Accumulator.php:28:44: ArgumentTypeCoercion: Argument 2 of MongoDB\Builder\Type\OutputWindow::__construct expects MongoDB\Builder\Type\Optional|list{int|string, int|string}, but parent type MongoDB\Builder\Type\Optional|array<array-key, mixed> provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Builder/Accumulator.php#L28
src/Builder/Accumulator.php:28:56: ArgumentTypeCoercion: Argument 3 of MongoDB\Builder\Type\OutputWindow::__construct expects MongoDB\Builder\Type\Optional|list{numeric|string, numeric|string}, but parent type MongoDB\Builder\Type\Optional|array<array-key, mixed> provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Builder/Accumulator.php#L28
src/Builder/Accumulator.php:28:64: ArgumentTypeCoercion: Argument 4 of MongoDB\Builder\Type\OutputWindow::__construct expects MongoDB\Builder\Type\Optional|non-empty-string, but parent type MongoDB\Builder\Type\Optional|string provided (see https://psalm.dev/193)
|
NamedArgumentNotAllowed:
src/Builder/Accumulator/FactoryTrait.php#L339
src/Builder/Accumulator/FactoryTrait.php:339:47: NamedArgumentNotAllowed: Method MongoDB\Builder\Accumulator\MergeObjectsAccumulator::__construct called with named unpacked array array<array-key, MongoDB\BSON\Document|MongoDB\BSON\Serializable|MongoDB\Builder\Expression\ResolvesToObject|array<array-key, mixed>|stdClass> (array with string keys) (see https://psalm.dev/268)
|
NoInterfaceProperties:
src/Builder/BuilderEncoder.php#L77
src/Builder/BuilderEncoder.php:77:26: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
|
MixedAssignment:
src/Builder/BuilderEncoder.php#L184
src/Builder/BuilderEncoder.php:184:13: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/Builder/BuilderEncoder.php#L191
src/Builder/BuilderEncoder.php:191:41: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/Builder/BuilderEncoder.php#L205
src/Builder/BuilderEncoder.php:205:45: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/Builder/BuilderEncoder.php#L208
src/Builder/BuilderEncoder.php:208:42: MixedArgument: Argument 1 of get_object_vars cannot be mixed, expecting object (see https://psalm.dev/030)
|
MixedAssignment:
src/Builder/BuilderEncoder.php#L208
src/Builder/BuilderEncoder.php:208:88: MixedAssignment: Unable to determine the type that $subValue is being assigned to (see https://psalm.dev/032)
|