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.
1 parent da8a8e5 commit c3f5cf7Copy full SHA for c3f5cf7
src/ComposerIntegration/ComposerIntegrationHandler.php
@@ -42,6 +42,15 @@ 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
+ $recommendedRequireVersion = '*' . $stabilitySuffix;
52
53
+
54
// Write the new requirement to pie.json; because we later essentially just do a `composer install` using that file
55
$pieComposerJson = Platform::getPieJsonFilename($targetPlatform);
56
$pieJsonEditor = PieJsonEditor::fromTargetPlatform($targetPlatform);
0 commit comments