You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make sure that any composer dependencies that get installed work with PHP 7.4 - for comptibility reasons. I have defined the platform (as well as php version) in both composer.json and composer-deps.json:
The culprit here seems to be the fact that I was requiring wpify/scoper locally:
"require-dev": {
"wpify/scoper": "*"
},
I now tried removing it and composer global require wpify/scoper and the dependencies are installed using the correct version now.
FWIW, trying to use version 3.1.3 of wpify/scoper in require-dev did not work - it would still install dependencies that required PHP 8.1, even if was actually running PHP 7.4
I'm trying to make sure that any composer dependencies that get installed work with PHP 7.4 - for comptibility reasons. I have defined the platform (as well as php version) in both
composer.json
andcomposer-deps.json
:composer.json
composer-deps.json
However, after
composer update
, and trying to visit the site I get the composer platform check error:I would expect that dependencies should not require PHP
8.1
if my platform is set to7.4
.Is there a way to work around or fix this?
The text was updated successfully, but these errors were encountered: