add fclose on ressource to decrease memory consumption, catch excepti… #26
Annotations
10 errors and 1 warning
phpstan-8:
src/Builder/Capacity/All.php#L17
Method Kiboko\Plugin\Prestashop\Builder\Capacity\All::__construct() has parameter $options with no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Capacity/All.php#L47
Class Kiboko\Component\Bucket\AcceptanceResultBucket not found.
|
phpstan-8:
src/Builder/Capacity/Create.php#L15
Method Kiboko\Plugin\Prestashop\Builder\Capacity\Create::__construct() has parameter $options with no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Capacity/Create.php#L88
Parameter #2 $args of class PhpParser\Node\Expr\FuncCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<int, PhpParser\Node\Expr\Variable> given.
|
phpstan-8:
src/Builder/Capacity/Get.php#L17
Method Kiboko\Plugin\Prestashop\Builder\Capacity\Get::__construct() has parameter $options with no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Capacity/Get.php#L47
Class Kiboko\Component\Bucket\AcceptanceResultBucket not found.
|
phpstan-8:
src/Builder/Capacity/Update.php#L15
Method Kiboko\Plugin\Prestashop\Builder\Capacity\Update::__construct() has parameter $options with no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Capacity/Update.php#L88
Parameter #2 $args of class PhpParser\Node\Expr\FuncCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<int, PhpParser\Node\Expr\Variable> given.
|
phpstan-8:
src/Builder/Capacity/Upload.php#L15
Method Kiboko\Plugin\Prestashop\Builder\Capacity\Upload::__construct() has parameter $options with no value type specified in iterable type array.
|
phpstan-8:
src/Builder/Capacity/Upload.php#L87
Parameter #2 $args of class PhpParser\Node\Expr\FuncCall constructor expects array<PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder>, array<int, PhpParser\Node\Expr\Variable> given.
|
phpstan-8
The following actions use a deprecated Node.js version 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/
|