richdynamix / magestead

The Vagrant Solution for Magento Developers
81 stars 29 forks source link

Support for PHP 7 #82

Open b8ne opened 7 years ago

b8ne commented 7 years ago

Heya, Im coming from working on Laraval, so have a bit of experience with composer, however this is my first Magento setup so may be missing something. Im getting a dependency error on install (trying centos on PHP 7):

Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for magetest/magento-behat-extension dev-feature/Behat3 -> satisfiable by magetest/magento-behat-extension[dev-feature/Behat3].
    - magetest/magento-behat-extension dev-feature/Behat3 requires php ~5.3 -> your PHP version (7.0.13) does not satisfy that requirement.

Obviously its a php version issue, so figured Id ask here before delving into the code. Have you had compatibility issues before? Or has this setup been tested for php 7? Cheers

richdynamix commented 7 years ago

PHP 7 was tried and tested on all packaged boxes however its been some time since my last test. Based on this it looks like you are installing Magento 1? I haven't been using Magento 1 for some time now. Perhaps try removing magetest package from composer and try an install?

Would be grateful for any feedback and PR if you find a fix.