Config: Improve the node.config.php transformation

- Add more types
- Improvement for assoziative arrays and key-value arrays
- Add a lot more tests
This commit is contained in:
Philipp 2023-01-15 00:53:51 +01:00
parent eda65296f5
commit 4c28f9cf9c
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
9 changed files with 301 additions and 43 deletions

View file

@ -23,9 +23,13 @@ return [
'string2' => 'false',
],
],
'v' => true,
'v3' => 1,
'bool_true' => true,
'bool_false' => false,
'int_1_not_true' => 1,
'int_0_not_false' => 0,
'v4' => 5.6443,
'string_1_not_true' => '1',
'string_0_not_false' => '0',
],
],
'system' => [