Skip to content

Fix inventory update with new API endpoints #136

Fix inventory update with new API endpoints

Fix inventory update with new API endpoints #136

Triggered via pull request December 4, 2024 11:48
Status Failure
Total duration 2m 38s
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

43 errors and 22 warnings
Integration tests (PHP8.1 | Deps: highest | SF~5.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)
The operation was canceled.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
Static Code Analysis (PHP8.1 | Deps: highest | 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_highest__5_4_0" failed.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
Process completed with exit code 2.
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: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.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.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
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_2_highest__5_4_0" failed.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
UndefinedInterfaceMethod: src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php#L31
src/EventSubscriber/Workflow/InventoryUpdate/CompleteSubscriber.php:31:31: UndefinedInterfaceMethod: Method Setono\SyliusPeakPlugin\Model\InventoryUpdateInterface::setNextUpdateThreshold does not exist (see https://psalm.dev/181)
InvalidArgument: src/Updater/InventoryUpdater.php#L60
src/Updater/InventoryUpdater.php:60:20: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Updater\InventoryUpdater::map expects Setono\PeakWMS\DataTransferObject\Stock\Stock, but Setono\PeakWMS\DataTransferObject\Product\Product provided (see https://psalm.dev/004)
UndefinedPropertyFetch: src/Updater/InventoryUpdater.php#L110
src/Updater/InventoryUpdater.php:110:35: UndefinedPropertyFetch: Instance property Setono\PeakWMS\DataTransferObject\Stock\Stock::$orderedByCustomers is not defined (see https://psalm.dev/039)
Static Code Analysis (PHP8.2 | Deps: lowest | 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_2_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 1.
Dependency Analysis (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
Dependency Analysis (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
Dependency 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
Dependency Analysis (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
Dependency Analysis (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
Dependency Analysis (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
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
Dependency Analysis (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.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
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.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
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.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.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: 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
Static Code 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
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
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
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.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
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
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