Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.74 KB

UPGRADE-1.3.md

File metadata and controls

33 lines (24 loc) · 1.74 KB

Change log

v0.6 to v0.7

  • See the "Update plugin from Sylius v1.2.X TO v1.3.0"
  • Method signature of tierprice factory has changed: public function createAtProductVariant(array $options = [], ProductVariant $productVariant) to public function createAtProductVariant(ProductVariant $productVariant, array $options = [])

Upgrade plugin from Sylius v1.2.X TO v1.3.0

  • 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 update and (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