diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-08-11 21:37:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 21:37:10 +0300 |
commit | 44694d699fd715edeeb9fcea9271b09c39b5ac35 (patch) | |
tree | 3a89d5c06276b9721661d2b13fc37a2e87aa85a7 /src/php | |
parent | aecf2ad152a75663211a2ac0926e6122c2b0b07f (diff) |
Options: Follow camelCase (#89)
rename Options
Diffstat (limited to 'src/php')
-rw-r--r-- | src/php/devcontainer-feature.json | 9 | ||||
-rwxr-xr-x | src/php/install.sh | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/src/php/devcontainer-feature.json b/src/php/devcontainer-feature.json index ef6392e..30d9002 100644 --- a/src/php/devcontainer-feature.json +++ b/src/php/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "php", - "version": "1.0.0", + "version": "1.0.1", "name": "PHP", "options": { "version": { @@ -12,15 +12,10 @@ "default": "latest", "description": "Select or enter a PHP version" }, - "install_composer": { + "installComposer": { "type": "boolean", "default": true, "description": "Install PHP Composer?" - }, - "override_default_version": { - "type": "boolean", - "default": "true", - "description": "If true, overrides existing version (if any) of dotnet on the PATH" } }, "extensions": [ diff --git a/src/php/install.sh b/src/php/install.sh index 7380114..0807fb7 100755 --- a/src/php/install.sh +++ b/src/php/install.sh @@ -9,8 +9,8 @@ set -eux VERSION=${VERSION:-"latest"} -INSTALL_COMPOSER=${INSTALL_COMPOSER:-"true"} -OVERRIDE_DEFAULT_VERSION=${OVERRIDE_DEFAULT_VERSION:-"true"} +INSTALL_COMPOSER=${INSTALLCOMPOSER:-"true"} +OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"} export PHP_DIR=${PHP_DIR:-"/usr/local/php"} USERNAME=${USERNAME:-"automatic"} @@ -18,7 +18,7 @@ UPDATE_RC=${UPDATE_RC:-"true"} # Comma-separated list of php versions to be installed # alongside VERSION, but not set as default. -ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""} +ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} export DEBIAN_FRONTEND=noninteractive |