Skip to content

Commit 0762c25

Browse files
MCLOUD-13209: Added fix in PHP extension version check condition
1 parent f5e2dd4 commit 0762c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compose/Php/ExtensionResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function get(Config $config): array
131131

132132
foreach ($phpExtensions as $phpExtName) {
133133
if (isset(self::BUILTIN_EXTENSIONS[$phpExtName])
134-
&& $this->semver::satisfies($phpVersion, self::BUILTIN_EXTENSIONS[$phpExtName])
134+
&& $this->semver::satisfies($phpVersion, (float) self::BUILTIN_EXTENSIONS[$phpExtName])
135135
) {
136136
continue;
137137
}

0 commit comments

Comments
 (0)