Skip to content

Commit 9f02086

Browse files
committed
Replaced array_walk() with foreach().
2 parents 1f0f2bb + 39901df commit 9f02086

File tree

10 files changed

+77
-0
lines changed

10 files changed

+77
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
ic_test_bool: false
3+
another: test
4+
ic_test_nested: nested
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file is auto-generated during the composer install
2+
parameters:
3+
ic_test_bool: true
4+
ic_test_nested:
5+
foo: env_foo
6+
bar:
7+
- env
8+
- test
9+
- null
10+
another: null
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
title: Values provided by the environment are not asked interactively
2+
3+
config:
4+
env-map: 'auto'
5+
6+
environment:
7+
IC_TEST_BOOL: 'true'
8+
IC_TEST_NESTED: '{foo: env_foo, bar: [env, test, null]}'
9+
10+
interactive: true
11+
12+
requested_params:
13+
another:
14+
default: test
15+
input: 'null'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
parameters:
2+
ic_test_foo: bar
3+
ic_test_bool: false
4+
another: ~
5+
ic_test_nested:
6+
foo: bar
7+
bar: baz
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file is auto-generated during the composer install
2+
parameters:
3+
ic_test_foo: foobar
4+
ic_test_bool: true
5+
another: null
6+
ic_test_nested:
7+
foo: env_foo
8+
bar:
9+
- env
10+
- test
11+
- null
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
title: Environment variables are used over dist file defaults
2+
3+
config:
4+
env-map: 'auto'
5+
6+
environment:
7+
IC_TEST_BOOL: 'true'
8+
IC_TEST_FOO: 'foobar'
9+
IC_TEST_NESTED: '{foo: env_foo, bar: [env, test, null]}'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
parameters:
2+
ic_test_new: bar
3+
new2: new2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This file is auto-generated during the composer install
2+
parameters:
3+
old: old_value
4+
old2: old_value2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This file is auto-generated during the composer install
2+
parameters:
3+
ic_test_new: new_env_value
4+
new2: old_value2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
title: Environment variables win over renamed keys
2+
3+
config:
4+
rename-map:
5+
ic_test_new: old
6+
new2: old2
7+
env-map: 'auto'
8+
9+
environment:
10+
IC_TEST_NEW: 'new_env_value'

0 commit comments

Comments
 (0)