OP-352 - Add phpstan configuration file #3
Annotations
10 errors and 1 warning
src/Api/Resolver/FacetsResolver.php#L51
Expression on left side of ?? is not nullable.
|
src/Context/TaxonContext.php#L32
Cannot call method get() on Symfony\Component\HttpFoundation\Request|null.
|
src/Context/TaxonContext.php#L37
Strict comparison using === between null and Sylius\Component\Core\Model\TaxonInterface will always evaluate to false.
|
src/Controller/Action/Api/ListProductsByPartialNameAction.php#L42
Parameter #1 $namePart of method BitBag\SyliusElasticsearchPlugin\Finder\NamedProductsFinderInterface::findByNamePart() expects string, bool|float|int|string given.
|
src/Controller/Action/Api/ListProductsByPartialNameAction.php#L45
Argument of an invalid type array|null supplied for foreach, only iterables are supported.
|
src/Controller/Action/Api/ListProductsByPartialNameAction.php#L51
Parameter #1 $taxonName of class BitBag\SyliusElasticsearchPlugin\Controller\Response\DTO\Item constructor expects string, string|null given.
|
src/Controller/Action/Api/ListProductsByPartialNameAction.php#L52
Parameter #2 $name of class BitBag\SyliusElasticsearchPlugin\Controller\Response\DTO\Item constructor expects string, string|null given.
|
src/Controller/Action/Api/ListProductsByPartialNameAction.php#L54
Parameter #4 $slug of class BitBag\SyliusElasticsearchPlugin\Controller\Response\DTO\Item constructor expects string, string|null given.
|
src/Controller/Action/Shop/AbstractSearchAction.php#L34
Call to an undefined method Symfony\Component\Form\FormError|Symfony\Component\Form\FormErrorIterator::getOrigin().
|
src/Controller/Action/Shop/AbstractSearchAction.php#L35
Cannot call method getParent() on Symfony\Component\Form\FormInterface|null.
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading