We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca94c95 + 9d9310d commit a380ce3Copy full SHA for a380ce3
src/config.js
@@ -28,9 +28,10 @@ function gatherVersions(composerJson) {
28
}
29
30
let versions = [];
31
+ let composerPhpVersion = composerJson['require']['php'].replace(/,\s/i, ' ');
32
33
INSTALLABLE_VERSIONS.forEach(function (version) {
- if (semver.satisfies(version + '.0', composerJson['require']['php'])) {
34
+ if (semver.satisfies(version + '.0', composerPhpVersion)) {
35
versions.push(version);
36
37
});
0 commit comments