Closed galvao closed 6 years ago
This actually sounds like a Composer issue.
The constraint we use (^5.6 || ^7.0
) means that any PHP 5.6 or PHP 7 version is a valid runtime for the component, which means that if you try and install it on PHP 7.1, it will succeed.
What version of composer are you using? (run composer --version
to find out)
In the meantime... I've done the following:
$ composer create-project zendframework/zend-expressive-skeleton zend-log-80
$ cd zend-log-80
$ composer require zendframework/zend-log
This all worked as expected for me; I received prompts where expected, and the project and component installed as expected. I did this using Composer 1.5.2 and a PHP 7.1 runtime. As such, if you can reliably reproduce the issue, I think you'll need to raise it with Composer.
@galvao Can you try this:
Be sure to work with the latest version of composer by running
composer self-update
. Try clearing Composer's cache by runningcomposer clear-cache
.
We had issues in the past with the expressive skeleton and updating to the latest version and clearing the cache fixed most problems.
@xtreamwayz @weierophinney Thank you guys. Updating composer and clearing the cache solved it.
I'm not 100% sure if this is a composer or zend-log problem (I believe it's likely to be the former, so if that's the case my apologies):
I've tried installing zend-log on an Expressive project (created with the Expressive skeleton) and this is the result: