Skip to content

Commit 2ca7843

Browse files
committed
feat: Make DockerComposeConfigurator compatible with "false" string
1 parent 423c36e commit 2ca7843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configurator/DockerComposeConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static function shouldConfigureDockerRecipe(Composer $composer, IOInterfa
101101
}
102102

103103
if (null !== $dockerPreference = $composer->getPackage()->getExtra()['symfony']['docker'] ?? null) {
104-
self::$configureDockerRecipes = $dockerPreference;
104+
self::$configureDockerRecipes = filter_var($dockerPreference, \FILTER_VALIDATE_BOOLEAN);
105105

106106
return self::$configureDockerRecipes;
107107
}

0 commit comments

Comments
 (0)