We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da8a8e5 + 086defd commit f6ba46cCopy full SHA for f6ba46c
1 file changed
src/ComposerIntegration/ComposerIntegrationHandler.php
@@ -42,6 +42,16 @@ public function runInstall(
42
$recommendedRequireVersion = $versionSelector->findRecommendedRequireVersion($package->composerPackage());
43
}
44
45
+ if ($package->isBundledPhpExtension()) {
46
+ $stability = $package->composerPackage()->getStability();
47
+ $stabilitySuffix = '';
48
+ if ($stability !== 'stable') {
49
+ $stabilitySuffix = '@' . $stability;
50
+ }
51
+
52
+ $recommendedRequireVersion = '*' . $stabilitySuffix;
53
54
55
// Write the new requirement to pie.json; because we later essentially just do a `composer install` using that file
56
$pieComposerJson = Platform::getPieJsonFilename($targetPlatform);
57
$pieJsonEditor = PieJsonEditor::fromTargetPlatform($targetPlatform);
0 commit comments