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

Add --ignore-platform-reqs to composer install #22

Closed
BronsonQuick opened this issue Sep 2, 2018 · 3 comments
Closed

Add --ignore-platform-reqs to composer install #22

BronsonQuick opened this issue Sep 2, 2018 · 3 comments
Labels

Comments

@BronsonQuick
Copy link
Member

Without this users can end up with messages such as: - doctrine/annotations v1.6.0 requires php ^7.1 -> your PHP version (7.0.31) does not satisfy that requirement.

@rmccue
Copy link

rmccue commented Sep 3, 2018

Wouldn't you want the platform reqs message though?

@BronsonQuick
Copy link
Member Author

@rmccue I've seen quite a few devs needing to pass this option in to get things working. Reckon I should add that as an yaml option instead? So default would be composer install and optionally pass a yaml value to add --ignore-platform-reqs? If so I'll open a new issue for that.

@rmccue
Copy link

rmccue commented Sep 3, 2018

That's usually an indication that their Chassis box needs to be reconfigured; e.g. with the error above, they should switch to PHP 7.1.

Generally, you want to do --ignore-platform-reqs if you're building on a non-functional system. If you're running Composer on your host (i.e. macOS), you want to ignore them, because the development you're installing for is Chassis instead. But, inside the box, they shouldn't be ignored.

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