Fix inventory update with new API endpoints #136
Annotations
4 errors and 1 warning
Static analysis:
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)
|
Static analysis:
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)
|
Static analysis:
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 analysis
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading