cs-fixer #143
Annotations
10 errors and 1 warning
PHPStan:
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.
|
PHPStan:
src/Builder/Capacity/Extractor/All.php#L101
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Extractor\All::compileSearch() return type has no value type specified in iterable type array.
|
PHPStan:
src/Builder/Capacity/Extractor/All.php#L115
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Extractor\All::compileArguments() return type has no value type specified in iterable type array.
|
PHPStan:
src/Builder/Capacity/Extractor/Get.php#L51
Parameter #1 $array (array{PhpParser\Node\Arg}) to function array_filter does not contain falsy values, the array will always stay the same.
|
PHPStan:
src/Builder/Capacity/Extractor/ListPerPage.php#L93
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Extractor\ListPerPage::compileSearch() return type has no value type specified in iterable type array.
|
PHPStan:
src/Builder/Capacity/Lookup/All.php#L95
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Lookup\All::compileSearch() return type has no value type specified in iterable type array.
|
PHPStan:
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.
|
PHPStan:
src/Builder/Capacity/Lookup/Get.php#L16
Property Kiboko\Plugin\Akeneo\Builder\Capacity\Lookup\Get::$type (string|null) is never assigned null so it can be removed from the property type.
|
PHPStan:
src/Builder/Capacity/Lookup/Get.php#L128
Parameter $name of class PhpParser\Node\Expr\MethodCall constructor expects PhpParser\Node\Expr|PhpParser\Node\Identifier|string, PhpParser\Node\Name given.
|
PHPStan:
src/Builder/Capacity/Lookup/ListPerPage.php#L93
Method Kiboko\Plugin\Akeneo\Builder\Capacity\Lookup\ListPerPage::compileSearch() return type has no value type specified in iterable type array.
|
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/
|
Loading