PHPLIB-1249 Init code generator project for aggregation builder #952
Annotations
10 errors
examples/aggregation-builder.php#L77
examples/aggregation-builder.php:77:34: PossiblyInvalidArgument: Argument 1 of MongoDB\Collection::aggregate expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|stdClass|string provided (see https://psalm.dev/092)
|
src/Builder/Aggregation.php#L52
src/Builder/Aggregation.php:52:15: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation.php#L53
src/Builder/Aggregation.php:53:15: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation.php#L58
src/Builder/Aggregation.php:58:48: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation.php#L59
src/Builder/Aggregation.php:59:51: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation.php#L60
src/Builder/Aggregation.php:60:8: MixedInferredReturnType: Could not verify return type 'MongoDB\Builder\Aggregation\FilterAggregation' for MongoDB\Builder\Aggregation::filter (see https://psalm.dev/047)
|
src/Builder/Aggregation/FilterAggregation.php#L26
src/Builder/Aggregation/FilterAggregation.php:26:12: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation/FilterAggregation.php#L27
src/Builder/Aggregation/FilterAggregation.php:27:12: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation/FilterAggregation.php#L32
src/Builder/Aggregation/FilterAggregation.php:32:15: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
src/Builder/Aggregation/FilterAggregation.php#L33
src/Builder/Aggregation/FilterAggregation.php:33:15: UndefinedClass: Class, interface or enum named MongoDB\Builder\Optional does not exist (see https://psalm.dev/019)
|
The logs for this run have expired and are no longer available.
Loading