Fix the index service definition #24
build.yaml
on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: Mutation tests
Matrix: static-code-analysis
Matrix: unit-tests
Annotations
69 errors
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The operation was canceled.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The operation was canceled.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The operation was canceled.
|
Dependency Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Unit tests (PHP8.2 | Deps: highest | SF~6.4.0)
Process completed with exit code 2.
|
Unit tests (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Unit tests (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
|
Unit tests (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Unit tests (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
|
Unit tests (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Unit tests (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 2.
|
Unit tests (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Unit tests (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 2.
|
Unit tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Unit tests (PHP8.1 | Deps: lowest | SF~5.4.0)
Process completed with exit code 2.
|
MixedInferredReturnType:
src/Config/Index.php#L56
src/Config/Index.php:56:32: MixedInferredReturnType: Could not verify return type 'Setono\SyliusMeilisearchPlugin\Indexer\IndexerInterface' for Setono\SyliusMeilisearchPlugin\Config\Index::indexer (see https://psalm.dev/047)
|
MixedReturnStatement:
src/Config/Index.php#L58
src/Config/Index.php:58:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
InvalidArgument:
src/Controller/Action/SearchAction.php#L46
src/Controller/Action/SearchAction.php:46:52: InvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Resolver\IndexName\IndexNameResolverInterface::resolve expects Setono\SyliusMeilisearchPlugin\Config\Index|class-string<Setono\SyliusMeilisearchPlugin\Model\IndexableInterface>, but Sylius\Component\Core\Model\ProductInterface::class provided (see https://psalm.dev/004)
|
MissingReturnType:
src/Model/IndexableInterface.php#L9
src/Model/IndexableInterface.php:9:21: MissingReturnType: Method Setono\SyliusMeilisearchPlugin\Model\IndexableInterface::getId does not have a return type (see https://psalm.dev/050)
|
PossiblyInvalidArgument:
src/Resolver/IndexName/IndexNameResolver.php#L52
src/Resolver/IndexName/IndexNameResolver.php:52:58: PossiblyInvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Provider\IndexScope\IndexScopeProviderInterface::getFromContext expects Setono\SyliusMeilisearchPlugin\Config\Index, but possibly different type Setono\SyliusMeilisearchPlugin\Config\Index|Setono\SyliusMeilisearchPlugin\Config\Index&Sylius\Component\Resource\Model\ResourceInterface|list<Setono\SyliusMeilisearchPlugin\Config\Index> provided (see https://psalm.dev/092)
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
MixedInferredReturnType:
src/Config/Index.php#L56
src/Config/Index.php:56:32: MixedInferredReturnType: Could not verify return type 'Setono\SyliusMeilisearchPlugin\Indexer\IndexerInterface' for Setono\SyliusMeilisearchPlugin\Config\Index::indexer (see https://psalm.dev/047)
|
MixedReturnStatement:
src/Config/Index.php#L58
src/Config/Index.php:58:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
InvalidArgument:
src/Controller/Action/SearchAction.php#L46
src/Controller/Action/SearchAction.php:46:52: InvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Resolver\IndexName\IndexNameResolverInterface::resolve expects Setono\SyliusMeilisearchPlugin\Config\Index|class-string<Setono\SyliusMeilisearchPlugin\Model\IndexableInterface>, but Sylius\Component\Core\Model\ProductInterface::class provided (see https://psalm.dev/004)
|
MissingReturnType:
src/Model/IndexableInterface.php#L9
src/Model/IndexableInterface.php:9:21: MissingReturnType: Method Setono\SyliusMeilisearchPlugin\Model\IndexableInterface::getId does not have a return type (see https://psalm.dev/050)
|
PossiblyInvalidArgument:
src/Resolver/IndexName/IndexNameResolver.php#L52
src/Resolver/IndexName/IndexNameResolver.php:52:58: PossiblyInvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Provider\IndexScope\IndexScopeProviderInterface::getFromContext expects Setono\SyliusMeilisearchPlugin\Config\Index, but possibly different type Setono\SyliusMeilisearchPlugin\Config\Index|Setono\SyliusMeilisearchPlugin\Config\Index&Sylius\Component\Resource\Model\ResourceInterface|list<Setono\SyliusMeilisearchPlugin\Config\Index> provided (see https://psalm.dev/092)
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
MixedInferredReturnType:
src/Config/Index.php#L56
src/Config/Index.php:56:32: MixedInferredReturnType: Could not verify return type 'Setono\SyliusMeilisearchPlugin\Indexer\IndexerInterface' for Setono\SyliusMeilisearchPlugin\Config\Index::indexer (see https://psalm.dev/047)
|
MixedReturnStatement:
src/Config/Index.php#L58
src/Config/Index.php:58:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
InvalidArgument:
src/Controller/Action/SearchAction.php#L46
src/Controller/Action/SearchAction.php:46:52: InvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Resolver\IndexName\IndexNameResolverInterface::resolve expects Setono\SyliusMeilisearchPlugin\Config\Index|class-string<Setono\SyliusMeilisearchPlugin\Model\IndexableInterface>, but Sylius\Component\Core\Model\ProductInterface::class provided (see https://psalm.dev/004)
|
MissingReturnType:
src/Model/IndexableInterface.php#L9
src/Model/IndexableInterface.php:9:21: MissingReturnType: Method Setono\SyliusMeilisearchPlugin\Model\IndexableInterface::getId does not have a return type (see https://psalm.dev/050)
|
PossiblyInvalidArgument:
src/Resolver/IndexName/IndexNameResolver.php#L52
src/Resolver/IndexName/IndexNameResolver.php:52:58: PossiblyInvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Provider\IndexScope\IndexScopeProviderInterface::getFromContext expects Setono\SyliusMeilisearchPlugin\Config\Index, but possibly different type Setono\SyliusMeilisearchPlugin\Config\Index|Setono\SyliusMeilisearchPlugin\Config\Index&Sylius\Component\Resource\Model\ResourceInterface|list<Setono\SyliusMeilisearchPlugin\Config\Index> provided (see https://psalm.dev/092)
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
MixedInferredReturnType:
src/Config/Index.php#L56
src/Config/Index.php:56:32: MixedInferredReturnType: Could not verify return type 'Setono\SyliusMeilisearchPlugin\Indexer\IndexerInterface' for Setono\SyliusMeilisearchPlugin\Config\Index::indexer (see https://psalm.dev/047)
|
MixedReturnStatement:
src/Config/Index.php#L58
src/Config/Index.php:58:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
InvalidArgument:
src/Controller/Action/SearchAction.php#L46
src/Controller/Action/SearchAction.php:46:52: InvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Resolver\IndexName\IndexNameResolverInterface::resolve expects Setono\SyliusMeilisearchPlugin\Config\Index|class-string<Setono\SyliusMeilisearchPlugin\Model\IndexableInterface>, but Sylius\Component\Core\Model\ProductInterface::class provided (see https://psalm.dev/004)
|
MissingReturnType:
src/Model/IndexableInterface.php#L9
src/Model/IndexableInterface.php:9:21: MissingReturnType: Method Setono\SyliusMeilisearchPlugin\Model\IndexableInterface::getId does not have a return type (see https://psalm.dev/050)
|
PossiblyInvalidArgument:
src/Resolver/IndexName/IndexNameResolver.php#L52
src/Resolver/IndexName/IndexNameResolver.php:52:58: PossiblyInvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Provider\IndexScope\IndexScopeProviderInterface::getFromContext expects Setono\SyliusMeilisearchPlugin\Config\Index, but possibly different type Setono\SyliusMeilisearchPlugin\Config\Index|Setono\SyliusMeilisearchPlugin\Config\Index&Sylius\Component\Resource\Model\ResourceInterface|list<Setono\SyliusMeilisearchPlugin\Config\Index> provided (see https://psalm.dev/092)
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
|
Unit tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
MixedInferredReturnType:
src/Config/Index.php#L56
src/Config/Index.php:56:32: MixedInferredReturnType: Could not verify return type 'Setono\SyliusMeilisearchPlugin\Indexer\IndexerInterface' for Setono\SyliusMeilisearchPlugin\Config\Index::indexer (see https://psalm.dev/047)
|
MixedReturnStatement:
src/Config/Index.php#L58
src/Config/Index.php:58:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
InvalidArgument:
src/Controller/Action/SearchAction.php#L46
src/Controller/Action/SearchAction.php:46:52: InvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Resolver\IndexName\IndexNameResolverInterface::resolve expects Setono\SyliusMeilisearchPlugin\Config\Index|class-string<Setono\SyliusMeilisearchPlugin\Model\IndexableInterface>, but Sylius\Component\Core\Model\ProductInterface::class provided (see https://psalm.dev/004)
|
MissingReturnType:
src/Model/IndexableInterface.php#L9
src/Model/IndexableInterface.php:9:21: MissingReturnType: Method Setono\SyliusMeilisearchPlugin\Model\IndexableInterface::getId does not have a return type (see https://psalm.dev/050)
|
PossiblyInvalidArgument:
src/Resolver/IndexName/IndexNameResolver.php#L52
src/Resolver/IndexName/IndexNameResolver.php:52:58: PossiblyInvalidArgument: Argument 1 of Setono\SyliusMeilisearchPlugin\Provider\IndexScope\IndexScopeProviderInterface::getFromContext expects Setono\SyliusMeilisearchPlugin\Config\Index, but possibly different type Setono\SyliusMeilisearchPlugin\Config\Index|Setono\SyliusMeilisearchPlugin\Config\Index&Sylius\Component\Resource\Model\ResourceInterface|list<Setono\SyliusMeilisearchPlugin\Config\Index> provided (see https://psalm.dev/092)
|
PropertyNotSetInConstructor:
tests/Stubs/Entity/Channel.php#L11
tests/Stubs/Entity/Channel.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel::$baseCurrency is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/Stubs/Entity/Channel.php#L11
tests/Stubs/Entity/Channel.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel::$defaultLocale is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/Stubs/Entity/Channel.php#L11
tests/Stubs/Entity/Channel.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel::$defaultTaxZone is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/Stubs/Entity/Channel.php#L11
tests/Stubs/Entity/Channel.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel::$taxCalculationStrategy is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/Stubs/Entity/Channel.php#L11
tests/Stubs/Entity/Channel.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel::$themeName is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel or in any methods called in the constructor (see https://psalm.dev/074)
|
Unit tests (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Mutation tests (8.2, highest)
Process completed with exit code 1.
|
Code Coverage (PHP8.2 | Deps: highest)
Process completed with exit code 2.
|