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 29s
Artifacts

phpstan-7.yaml

on: push
phpstan-7
20s
phpstan-7
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan-7: 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-7: 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-7: src/Builder/Client.php#L138
Match expression does not handle remaining value: string
phpstan-7: src/Builder/Client.php#L168
Method Kiboko\Plugin\Sylius\Builder\Client::getFactoryArguments() return type has no value type specified in iterable type array.
phpstan-7: 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-7: src/Builder/Extractor.php#L134
Method Kiboko\Plugin\Sylius\Builder\Extractor::getParamsNode() return type has no value type specified in iterable type array.
phpstan-7: src/Builder/Extractor.php#L137
Match expression does not handle remaining value: string
phpstan-7: 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-7: src/Builder/Loader.php#L140
Method Kiboko\Plugin\Sylius\Builder\Loader::getParamsNode() return type has no value type specified in iterable type array.
phpstan-7: src/Builder/Loader.php#L143
Match expression does not handle remaining value: string