Open kadamwhite opened 1 year ago
@kadamwhite does the config
section of your composer.json
specify a target PHP version. Setting that is typically part of the upgrade guide so if it's set to PHP 8.0 this could happen - likely the fault of our docs not indicating this difference.
Opened documentation PR at https://github.com/humanmade/altis-documentation/pull/430 to encourage users to explicitly set that.
Rob hit the nail on the head, I was following the upgrade guide and installed Altis 12 as a part of PHP 8 preparedness. Sounds like there may NOT be a single version of Altis 12 that supports 7.4 and 8.0 without requiring a composer dependency update to be coordinated with a PHP deploy...?
Steps to reproduce:
psr/log
from1.1.4
to3.0.0
.vendor/psr/log/src/LoggerInterface.php
withinpsr/log
v3.0.psr/log
versions since 2.0 specifically requiresphp: >=8.0.0
, per packagist and the package'scomposer.json
.composer why
output showing thatpsr/log
evaluates to v3 in Altis 12:Manually pinning
psr/log
to1.1.4
in the Altis project'scomposer.json
appears to resolve the issue, and I can now sign in again on that project's dev environment.I would expect a subdependency of Altis 12 to support PHP 7.4, because 7.4 is listed as deprecated but not incompatible on the Updating PHP docs page.
Acceptance criteria: