Skip to content

PHPLIB-1254 Create Yaml for all operators and stages #983

PHPLIB-1254 Create Yaml for all operators and stages

PHPLIB-1254 Create Yaml for all operators and stages #983

Triggered via pull request October 11, 2023 02:53
Status Failure
Total duration 2m 0s
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

10 errors
MixedAssignment: src/Builder/BuilderEncoder.php#L179
src/Builder/BuilderEncoder.php:179:13: MixedAssignment: Unable to determine the type that $filter is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Builder/BuilderEncoder.php#L186
src/Builder/BuilderEncoder.php:186:41: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Builder/BuilderEncoder.php#L200
src/Builder/BuilderEncoder.php:200:45: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Builder/BuilderEncoder.php#L203
src/Builder/BuilderEncoder.php:203:42: MixedArgument: Argument 1 of get_object_vars cannot be mixed, expecting object (see https://psalm.dev/030)
MixedAssignment: src/Builder/BuilderEncoder.php#L203
src/Builder/BuilderEncoder.php:203:88: MixedAssignment: Unable to determine the type that $subValue is being assigned to (see https://psalm.dev/032)
NamedArgumentNotAllowed: src/Builder/Expression/FactoryTrait.php#L102
src/Builder/Expression/FactoryTrait.php:102:35: NamedArgumentNotAllowed: Method MongoDB\Builder\Expression\AddOperator::__construct called with named unpacked array array<array-key, MongoDB\BSON\Decimal128|MongoDB\BSON\Int64|MongoDB\BSON\UTCDateTime|MongoDB\Builder\Expression\ResolvesToDate|MongoDB\Builder\Expression\ResolvesToNumber|float|int> (array with string keys) (see https://psalm.dev/268)
NamedArgumentNotAllowed: src/Builder/Expression/FactoryTrait.php#L129
src/Builder/Expression/FactoryTrait.php:129:47: NamedArgumentNotAllowed: Method MongoDB\Builder\Expression\AllElementsTrueOperator::__construct called with named unpacked array array<array-key, MongoDB\BSON\PackedArray|MongoDB\Builder\Expression\ResolvesToArray|MongoDB\Model\BSONArray|array<array-key, mixed>> (array with string keys) (see https://psalm.dev/268)
NamedArgumentNotAllowed: src/Builder/Expression/FactoryTrait.php#L142
src/Builder/Expression/FactoryTrait.php:142:35: NamedArgumentNotAllowed: Method MongoDB\Builder\Expression\AndOperator::__construct called with named unpacked array array<array-key, MongoDB\BSON\Binary|MongoDB\BSON\Decimal128|MongoDB\BSON\Document|MongoDB\BSON\Int64|MongoDB\BSON\ObjectId|MongoDB\BSON\PackedArray|MongoDB\BSON\Regex|MongoDB\BSON\Serializable|MongoDB\BSON\Timestamp|MongoDB\BSON\UTCDateTime|MongoDB\Builder\Type\ExpressionInterface|array<array-key, mixed>|null|scalar|stdClass> (array with string keys) (see https://psalm.dev/268)
NamedArgumentNotAllowed: src/Builder/Expression/FactoryTrait.php#L262
src/Builder/Expression/FactoryTrait.php:262:35: NamedArgumentNotAllowed: Method MongoDB\Builder\Expression\AvgOperator::__construct called with named unpacked array array<array-key, MongoDB\BSON\Decimal128|MongoDB\BSON\Int64|MongoDB\Builder\Expression\ResolvesToNumber|float|int> (array with string keys) (see https://psalm.dev/268)
NamedArgumentNotAllowed: src/Builder/Expression/FactoryTrait.php#L287
src/Builder/Expression/FactoryTrait.php:287:38: NamedArgumentNotAllowed: Method MongoDB\Builder\Expression\BitAndOperator::__construct called with named unpacked array array<array-key, MongoDB\BSON\Int64|MongoDB\Builder\Expression\ResolvesToInt|int> (array with string keys) (see https://psalm.dev/268)