Ran php-cs-fixer #135
Annotations
10 errors and 1 warning
phpstan-7:
src/Builder/Capacity/All.php#L85
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#L85
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#L141
Method Kiboko\Plugin\Sylius\Builder\Client::getClientBuilderNode() is unused.
|
phpstan-7:
src/Builder/Client.php#L165
Method Kiboko\Plugin\Sylius\Builder\Client::getFactoryArguments() return type has no value type specified in iterable type array.
|
phpstan-7:
src/Builder/Client.php#L175
Access to an undefined property Kiboko\Plugin\Sylius\Builder\Client::$apiType.
|
phpstan-7:
src/Builder/Client.php#L175
Access to undefined constant Kiboko\Plugin\Sylius\ApiType::LEGACY.
|
phpstan-7:
src/Builder/Extractor.php#L78
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#L135
Method Kiboko\Plugin\Sylius\Builder\Extractor::getParamsNode() return type has no value type specified in iterable type array.
|
phpstan-7:
src/Builder/Extractor.php#L140
Parameter $type of class PhpParser\Node\Param constructor expects PhpParser\Node\ComplexType|PhpParser\Node\Identifier|PhpParser\Node\Name|string|null, PhpParser\Node|null given.
|
phpstan-7:
src/Builder/Loader.php#L78
Parameter $stmts of class PhpParser\Node\Stmt\TryCatch constructor expects array<PhpParser\Node\Stmt>, array<int, PhpParser\Node> given.
|
phpstan-7
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|