Skip to content

Distribute discount over units #91

Distribute discount over units

Distribute discount over units #91

Triggered via pull request June 26, 2024 11:11
Status Failure
Total duration 4m 43s
Artifacts

build.yaml

on: pull_request
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

31 errors and 1 warning
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)
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)
Process completed with exit code 1.
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~5.4.0)
Process completed with exit code 1.
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~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)
The operation was canceled.
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.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
UndefinedClass: src/Setter/OrderDiscountAdjustmentSetter.php#L18
src/Setter/OrderDiscountAdjustmentSetter.php:18:9: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
MixedAssignment: src/Setter/OrderDiscountAdjustmentSetter.php#L29
src/Setter/OrderDiscountAdjustmentSetter.php:29:9: MixedAssignment: Unable to determine the type that $distributedPrices is being assigned to (see https://psalm.dev/032)
UndefinedClass: src/Setter/OrderDiscountAdjustmentSetter.php#L29
src/Setter/OrderDiscountAdjustmentSetter.php:29:30: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
MixedAssignment: src/Setter/OrderDiscountAdjustmentSetter.php#L34
src/Setter/OrderDiscountAdjustmentSetter.php:34:40: MixedAssignment: Unable to determine the type that $i is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Setter/OrderDiscountAdjustmentSetter.php#L36
src/Setter/OrderDiscountAdjustmentSetter.php:36:33: MixedArgument: Argument 1 of Doctrine\Common\Collections\Collection::get cannot be mixed, expecting array-key (see https://psalm.dev/030)
UndefinedClass: tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L25
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:25:54: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
MixedArgument: tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L25
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:25:54: MixedArgument: Argument 1 of Setono\SyliusOrderEditPlugin\Tests\Unit\Setter\OrderDiscountAdjustmentSetterTest::prophesize cannot be mixed, expecting class-string (see https://psalm.dev/030)
ArgumentTypeCoercion: tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L29
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:29:13: ArgumentTypeCoercion: Argument 1 of Setono\SyliusOrderEditPlugin\Setter\OrderDiscountAdjustmentSetter::__construct expects Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface, but parent type object provided (see https://psalm.dev/193)
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
Process completed with exit code 2.
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_lowest__5_4_0" failed.
UndefinedClass: src/Setter/OrderDiscountAdjustmentSetter.php#L18
src/Setter/OrderDiscountAdjustmentSetter.php:18:9: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
MixedAssignment: src/Setter/OrderDiscountAdjustmentSetter.php#L29
src/Setter/OrderDiscountAdjustmentSetter.php:29:9: MixedAssignment: Unable to determine the type that $distributedPrices is being assigned to (see https://psalm.dev/032)
UndefinedClass: src/Setter/OrderDiscountAdjustmentSetter.php#L29
src/Setter/OrderDiscountAdjustmentSetter.php:29:30: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
MixedAssignment: src/Setter/OrderDiscountAdjustmentSetter.php#L34
src/Setter/OrderDiscountAdjustmentSetter.php:34:40: MixedAssignment: Unable to determine the type that $i is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Setter/OrderDiscountAdjustmentSetter.php#L36
src/Setter/OrderDiscountAdjustmentSetter.php:36:33: MixedArgument: Argument 1 of Doctrine\Common\Collections\Collection::get cannot be mixed, expecting array-key (see https://psalm.dev/030)
UndefinedClass: tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L25
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:25:54: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
MixedArgument: tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L25
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:25:54: MixedArgument: Argument 1 of Setono\SyliusOrderEditPlugin\Tests\Unit\Setter\OrderDiscountAdjustmentSetterTest::prophesize cannot be mixed, expecting class-string (see https://psalm.dev/030)
ArgumentTypeCoercion: tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L29
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:29:13: ArgumentTypeCoercion: Argument 1 of Setono\SyliusOrderEditPlugin\Setter\OrderDiscountAdjustmentSetter::__construct expects Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface, but parent type object provided (see https://psalm.dev/193)
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The operation was canceled.
Code Coverage (PHP8.2 | Deps: highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.