- See the "Update plugin from Sylius
v1.2.XTOv1.3.0" - Method signature of tierprice factory has changed:
public function createAtProductVariant(array $options = [], ProductVariant $productVariant)topublic function createAtProductVariant(ProductVariant $productVariant, array $options = [])
-
Run
composer require sylius/sylius:~1.3.0 --no-update -
Add the following code in your
behat.yml(.dist)file:default: extensions: FriendsOfBehat\SymfonyExtension: env_file: ~
-
Incorporate changes from the following files into plugin's test application:
-
Update PHP and JS dependencies by running
composer updateand(cd tests/Application && yarn upgrade) -
Clear cache by running
(cd tests/Application && bin/console cache:clear) -
Install assets by
(cd tests/Application && bin/console assets:install web)and(cd tests/Application && yarn build) -
optionally, remove the build for PHP 7.1. in
.travis.yml