Only use config.platform.php, as it's guaranteed to be the required version of PHP

This commit is contained in:
Jason Gill
2023-07-29 19:48:28 -04:00
parent a5fb328c6a
commit 95916a72b1
3 changed files with 0 additions and 17 deletions

4
dist/index.js vendored
View File

@ -1387,10 +1387,6 @@ async function readPHPVersion() {
composerFileContents['config']['platform']['php']) {
return composerFileContents['config']['platform']['php'];
}
if (composerFileContents['require'] &&
composerFileContents['require']['php']) {
return composerFileContents['require']['php'];
}
}
return 'latest';
}