Skip to content

Added validation when missing field #282

Added validation when missing field

Added validation when missing field #282

Triggered via push October 9, 2023 08:12
Status Failure
Total duration 43s
Artifacts

phpstan-7.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan7: src/Builder/AlternativeLookup.php#L37
Parameter $name of class PhpParser\Node\Expr\MethodCall constructor expects PhpParser\Node\Expr|PhpParser\Node\Identifier|string, PhpParser\Node\Name given.
phpstan7: src/Builder/Capacity/Extractor/All.php#L93
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Extractor\All::compileSearch() return type has no value type specified in iterable type array.
phpstan7: src/Builder/Capacity/Extractor/All.php#L107
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Extractor\All::compileArguments() return type has no value type specified in iterable type array.
phpstan7: src/Builder/Capacity/Extractor/ListPerPage.php#L97
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Extractor\ListPerPage::compileSearch() return type has no value type specified in iterable type array.
phpstan7: src/Builder/Capacity/Lookup/All.php#L99
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Lookup\All::compileSearch() return type has no value type specified in iterable type array.
phpstan7: src/Builder/Capacity/Lookup/Download.php#L132
Parameter $args of class PhpParser\Node\Expr\FuncCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<int, PhpParser\Node\Arg|PhpParser\Node\Expr\Variable> given.
phpstan7: src/Builder/Capacity/Lookup/Get.php#L132
Parameter $name of class PhpParser\Node\Expr\MethodCall constructor expects PhpParser\Node\Expr|PhpParser\Node\Identifier|string, PhpParser\Node\Name given.
phpstan7: src/Builder/Capacity/Lookup/ListPerPage.php#L97
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Lookup\ListPerPage::compileSearch() return type has no value type specified in iterable type array.
phpstan7: src/Builder/Client.php#L139
Method Kiboko\Plugin\Akeneo\Builder\Client::getFactoryArguments() return type has no value type specified in iterable type array.
phpstan7: src/Builder/ConditionalLookup.php#L47
Cannot access an offset on iterable<array<int, Kiboko\Plugin\Akeneo\Builder\AlternativeLookup|PhpParser\Node\Expr>>.