Skip to content

fix tests, add a check on api_type parameter #122

fix tests, add a check on api_type parameter

fix tests, add a check on api_type parameter #122

Triggered via push November 20, 2023 13:12
Status Failure
Total duration 28s
Artifacts

phpstan-8.yaml

on: push
phpstan-8
19s
phpstan-8
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan-8: src/Builder/Capacity/All.php#L89
Method Kiboko\Plugin\Sylius\Builder\Capacity\All::compileSearch() return type has no value type specified in iterable type array.
phpstan-8: src/Builder/Capacity/ListPerPage.php#L89
Method Kiboko\Plugin\Sylius\Builder\Capacity\ListPerPage::compileSearch() return type has no value type specified in iterable type array.
phpstan-8: src/Builder/Client.php#L138
Match expression does not handle remaining value: string
phpstan-8: src/Builder/Client.php#L168
Method Kiboko\Plugin\Sylius\Builder\Client::getFactoryArguments() return type has no value type specified in iterable type array.
phpstan-8: src/Builder/Extractor.php#L77
Parameter $stmts of class PhpParser\Node\Stmt\TryCatch constructor expects array<PhpParser\Node\Stmt>, array<int, PhpParser\Node> given.
phpstan-8: src/Builder/Extractor.php#L128
Parameter $value of class PhpParser\Node\Arg constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
phpstan-8: src/Builder/Extractor.php#L134
Method Kiboko\Plugin\Sylius\Builder\Extractor::getParamsNode() return type has no value type specified in iterable type array.
phpstan-8: src/Builder/Extractor.php#L137
Match expression does not handle remaining value: string
phpstan-8: src/Builder/Loader.php#L77
Parameter $stmts of class PhpParser\Node\Stmt\TryCatch constructor expects array<PhpParser\Node\Stmt>, array<int, PhpParser\Node> given.
phpstan-8: src/Builder/Loader.php#L134
Parameter $value of class PhpParser\Node\Arg constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.