Skip to content

Simplify the index scope providers a bit #34

Simplify the index scope providers a bit

Simplify the index scope providers a bit #34

Triggered via push July 3, 2024 20:09
Status Failure
Total duration 2m 19s
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

44 errors
Dependency Analysis (PHP8.1 | Deps: lowest | 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_1_lowest__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_1_lowest__6_4_0" failed.
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 1.
Dependency Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__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: lowest | SF~5.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Dependency Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Unit tests (PHP8.1 | Deps: highest | 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~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.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
Unit tests (PHP8.2 | Deps: lowest | SF~6.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~6.4.0)
Process completed with exit code 2.
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: lowest | SF~6.4.0)
The job was canceled because "_8_2_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.1 | Deps: lowest | SF~6.4.0)
Process completed with exit code 2.
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_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.1 | Deps: highest | SF~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_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: lowest | SF~6.4.0)
The operation was canceled.
Unit tests (PHP8.1 | 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.
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_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.