Skip to content

Remove the usage of NonExistingIndexException #31

Remove the usage of NonExistingIndexException

Remove the usage of NonExistingIndexException #31

Triggered via push July 3, 2024 19:20
Status Failure
Total duration 2m 14s
Artifacts

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
Fit to window
Zoom out
Zoom in

Annotations

56 errors
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
Process completed with exit code 1.
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: 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.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~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.2 | Deps: lowest | SF~5.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.
Dependency Analysis (PHP8.1 | Deps: lowest | 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~6.4.0)
Process completed with exit code 2.
Unit tests (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
Unit tests (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
Unit tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
Unit tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The operation was canceled.
Unit tests (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
Unit tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
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)
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.
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
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)
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_2_highest__5_4_0" failed.
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)
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.
Unit tests (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
Unit tests (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
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)
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)
PropertyNotSetInConstructor: tests/Stubs/Entity/Channel.php#L11
tests/Stubs/Entity/Channel.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Channel::$contactEmail 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/Product.php#L11
tests/Stubs/Entity/Product.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Product::$mainTaxon is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Product or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/Stubs/Entity/Product.php#L11
tests/Stubs/Entity/Product.php:11:7: PropertyNotSetInConstructor: Property Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Product::$code is not defined in constructor of Setono\SyliusMeilisearchPlugin\Tests\Stubs\Entity\Product or in any methods called in the constructor (see https://psalm.dev/074)
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
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)
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: lowest | SF~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
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)
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~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Code Coverage (PHP8.2 | Deps: highest)
Process completed with exit code 2.
Mutation tests (8.2, highest)
Process completed with exit code 1.