Closed hiasl closed 3 years ago
@hiasl the nitro create
command will not modify the projects php version, that is stored on the craft project itself here: https://github.com/craftcms/craft/blob/main/composer.json#L37.
Closing this out for now as Nitro is not going to modify the composer.json during the create
command.
Description
I just used
nitro create
to setup a new project. The setup process worked fine, however the PHP version is somehow mixed up. It should be PHP8, composer.json is locked to 7.2 and the container is running 7.4 (on the nitro composer console).Steps to reproduce
And the container seems to run 7.4 (at least composer is saying this), when I try to install via
nitro composer require verbb/vizy
:Installation failed, reverting ./composer.json and ./composer.lock to their original content.