Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's possible to select a PHP version greater than the one the project is constructed on #77

Closed
raphaelstolt opened this issue Jan 21, 2016 · 3 comments
Labels

Comments

@raphaelstolt
Copy link
Contributor

This leads to problems (like shown in the following console excerpt) when doing the composer install.

Creating your project...
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - This package requires php >=5.6.0 but your PHP version (5.5.9) does not satisfy that requirement.
@jonathantorres
Copy link
Owner

Perhaps instead of using 5.6.0 by default, construct should use the php version that it's installed when the command is executed.

@raphaelstolt
Copy link
Contributor Author

Yes the default PHP version should be the one used on the constructing system, and it shouldn't be possible to choose one greater than it.

@jonathantorres
Copy link
Owner

Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants