Skip to content

Remove invalid service definition #339

Remove invalid service definition

Remove invalid service definition #339

Triggered via push December 9, 2024 11:34
Status Failure
Total duration 2m 4s
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

72 errors and 14 warnings
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 255.
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 255.
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 255.
Dependency Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Dependency Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 255.
Dependency Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Dependency Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
Dependency Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
InvalidArgument: src/Fixture/Factory/PromotionExampleFactory.php#L158
src/Fixture/Factory/PromotionExampleFactory.php:158:54: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::all expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
InvalidArgument: src/Fixture/Factory/PromotionExampleFactory.php#L160
src/Fixture/Factory/PromotionExampleFactory.php:160:60: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::findBy expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
MissingTemplateParam: src/Repository/ProductRepositoryInterface.php#L9
src/Repository/ProductRepositoryInterface.php:9:46: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductRepositoryInterface, expecting 1 (see https://psalm.dev/182)
MissingTemplateParam: src/Repository/ProductVariantRepositoryInterface.php#L9
src/Repository/ProductVariantRepositoryInterface.php:9:53: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductVariantRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductVariantRepositoryInterface, expecting 1 (see https://psalm.dev/182)
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
Integration tests (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 1.
Integration tests (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 1.
Integration tests (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 1.
Integration tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.2 | Deps: lowest | SF~5.4.0)
Process completed with exit code 1.
Integration tests (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.1 | Deps: lowest | SF~6.4.0)
Process completed with exit code 1.
Integration tests (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.2 | Deps: highest | SF~6.4.0)
The operation was canceled.
Integration tests (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.2 | Deps: highest | SF~5.4.0)
The operation was canceled.
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
InvalidArgument: src/Fixture/Factory/PromotionExampleFactory.php#L158
src/Fixture/Factory/PromotionExampleFactory.php:158:54: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::all expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
InvalidArgument: src/Fixture/Factory/PromotionExampleFactory.php#L160
src/Fixture/Factory/PromotionExampleFactory.php:160:60: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::findBy expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
MissingTemplateParam: src/Repository/ProductRepositoryInterface.php#L9
src/Repository/ProductRepositoryInterface.php:9:46: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductRepositoryInterface, expecting 1 (see https://psalm.dev/182)
MissingTemplateParam: src/Repository/ProductVariantRepositoryInterface.php#L9
src/Repository/ProductVariantRepositoryInterface.php:9:53: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductVariantRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductVariantRepositoryInterface, expecting 1 (see https://psalm.dev/182)
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The operation was canceled.
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.2 | Deps: lowest | 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.
NoInterfaceProperties: src/EventListener/AddChannelPricingIndicesSubscriber.php#L27
src/EventListener/AddChannelPricingIndicesSubscriber.php:27:29: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
MixedArgument: src/EventListener/AddChannelPricingIndicesSubscriber.php#L27
src/EventListener/AddChannelPricingIndicesSubscriber.php:27:29: MixedArgument: Argument 1 of is_subclass_of cannot be mixed, expecting object|string (see https://psalm.dev/030)
PossiblyInvalidArgument: src/EventListener/AddChannelPricingIndicesSubscriber.php#L32
src/EventListener/AddChannelPricingIndicesSubscriber.php:32:88: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type Setono\SyliusCatalogPromotionPlugin\Model\ChannelPricingInterface|class-string<Setono\SyliusCatalogPromotionPlugin\Model\ChannelPricingInterface> provided (see https://psalm.dev/092)
MixedAssignment: src/EventListener/AddChannelPricingIndicesSubscriber.php#L35
src/EventListener/AddChannelPricingIndicesSubscriber.php:35:9: MixedAssignment: Unable to determine the type that $columnName is being assigned to (see https://psalm.dev/032)
UndefinedInterfaceMethod: src/EventListener/AddChannelPricingIndicesSubscriber.php#L35
src/EventListener/AddChannelPricingIndicesSubscriber.php:35:34: UndefinedInterfaceMethod: Method Doctrine\Persistence\Mapping\ClassMetadata::getColumnName does not exist (see https://psalm.dev/181)
NoInterfaceProperties: src/EventListener/AddChannelPricingIndicesSubscriber.php#L38
src/EventListener/AddChannelPricingIndicesSubscriber.php:38:9: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
NoInterfaceProperties: src/EventListener/AddChannelPricingIndicesSubscriber.php#L44
src/EventListener/AddChannelPricingIndicesSubscriber.php:44:12: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
MixedArgument: src/EventListener/AddChannelPricingIndicesSubscriber.php#L44
src/EventListener/AddChannelPricingIndicesSubscriber.php:44:12: MixedArgument: Argument 2 of array_merge_recursive cannot be mixed, expecting TValue (see https://psalm.dev/030)
NoInterfaceProperties: src/EventListener/AddTimestampableIndicesSubscriber.php#L40
src/EventListener/AddTimestampableIndicesSubscriber.php:40:23: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
MixedArgument: src/EventListener/AddTimestampableIndicesSubscriber.php#L40
src/EventListener/AddTimestampableIndicesSubscriber.php:40:23: MixedArgument: Argument 1 of is_a cannot be mixed, expecting TGeneratedFromParam0 (see https://psalm.dev/030)
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
NoInterfaceProperties: src/EventListener/AddChannelPricingIndicesSubscriber.php#L27
src/EventListener/AddChannelPricingIndicesSubscriber.php:27:29: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
MixedArgument: src/EventListener/AddChannelPricingIndicesSubscriber.php#L27
src/EventListener/AddChannelPricingIndicesSubscriber.php:27:29: MixedArgument: Argument 1 of is_subclass_of cannot be mixed, expecting object|string (see https://psalm.dev/030)
PossiblyInvalidArgument: src/EventListener/AddChannelPricingIndicesSubscriber.php#L32
src/EventListener/AddChannelPricingIndicesSubscriber.php:32:88: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type Setono\SyliusCatalogPromotionPlugin\Model\ChannelPricingInterface|class-string<Setono\SyliusCatalogPromotionPlugin\Model\ChannelPricingInterface> provided (see https://psalm.dev/092)
MixedAssignment: src/EventListener/AddChannelPricingIndicesSubscriber.php#L35
src/EventListener/AddChannelPricingIndicesSubscriber.php:35:9: MixedAssignment: Unable to determine the type that $columnName is being assigned to (see https://psalm.dev/032)
UndefinedInterfaceMethod: src/EventListener/AddChannelPricingIndicesSubscriber.php#L35
src/EventListener/AddChannelPricingIndicesSubscriber.php:35:34: UndefinedInterfaceMethod: Method Doctrine\Persistence\Mapping\ClassMetadata::getColumnName does not exist (see https://psalm.dev/181)
NoInterfaceProperties: src/EventListener/AddChannelPricingIndicesSubscriber.php#L38
src/EventListener/AddChannelPricingIndicesSubscriber.php:38:9: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
NoInterfaceProperties: src/EventListener/AddChannelPricingIndicesSubscriber.php#L44
src/EventListener/AddChannelPricingIndicesSubscriber.php:44:12: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
MixedArgument: src/EventListener/AddChannelPricingIndicesSubscriber.php#L44
src/EventListener/AddChannelPricingIndicesSubscriber.php:44:12: MixedArgument: Argument 2 of array_merge_recursive cannot be mixed, expecting TValue (see https://psalm.dev/030)
NoInterfaceProperties: src/EventListener/AddTimestampableIndicesSubscriber.php#L40
src/EventListener/AddTimestampableIndicesSubscriber.php:40:23: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
MixedArgument: src/EventListener/AddTimestampableIndicesSubscriber.php#L40
src/EventListener/AddTimestampableIndicesSubscriber.php:40:23: MixedArgument: Argument 1 of is_a cannot be mixed, expecting TGeneratedFromParam0 (see https://psalm.dev/030)
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
InvalidArgument: src/Fixture/Factory/PromotionExampleFactory.php#L158
src/Fixture/Factory/PromotionExampleFactory.php:158:54: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::all expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
InvalidArgument: src/Fixture/Factory/PromotionExampleFactory.php#L160
src/Fixture/Factory/PromotionExampleFactory.php:160:60: InvalidArgument: Argument 1 of Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption::findBy expects Sylius\Resource\Doctrine\Persistence\RepositoryInterface<Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\covariantResourceInterface>, but Sylius\Component\Channel\Repository\ChannelRepositoryInterface provided (see https://psalm.dev/004)
MissingTemplateParam: src/Repository/ProductRepositoryInterface.php#L9
src/Repository/ProductRepositoryInterface.php:9:46: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductRepositoryInterface, expecting 1 (see https://psalm.dev/182)
MissingTemplateParam: src/Repository/ProductVariantRepositoryInterface.php#L9
src/Repository/ProductVariantRepositoryInterface.php:9:53: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\ProductVariantRepositoryInterface has missing template params when extending Sylius\Component\Core\Repository\ProductVariantRepositoryInterface, expecting 1 (see https://psalm.dev/182)
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
MissingTemplateParam: src/Factory/PromotionRuleFactoryInterface.php#L10
src/Factory/PromotionRuleFactoryInterface.php:10:49: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Factory\PromotionRuleFactoryInterface has missing template params when extending Sylius\Component\Resource\Factory\FactoryInterface, expecting 1 (see https://psalm.dev/182)
MissingTemplateParam: src/Repository/PromotionRepositoryInterface.php#L10
src/Repository/PromotionRepositoryInterface.php:10:48: MissingTemplateParam: Setono\SyliusCatalogPromotionPlugin\Repository\PromotionRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The operation was canceled.
Integration tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Coding Standards (PHP8.1 | Deps: highest)
Process completed with exit code 2.
Mutation tests (8.2, highest)
Process completed with exit code 1.
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.1 | Deps: lowest | SF~6.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.2 | Deps: highest | SF~6.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.2 | Deps: lowest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.2 | Deps: highest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.1 | Deps: lowest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.2 | Deps: lowest | SF~6.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests (PHP8.1 | Deps: highest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.1 | Deps: highest | SF~6.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PHP8.1 | Deps: highest | SF~5.4.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Coding Standards (PHP8.1 | Deps: highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Coverage (PHP8.2 | Deps: highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation tests (8.2, highest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636