Skip to content

Commit 6984e14

Browse files
committed
MAGETWO-66322: Dump env-specific and sensitive variables to env config file
1 parent 2952a10 commit 6984e14

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

app/code/Magento/Config/Model/Config/Parser/Comment.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ public function __construct(
5555
* //...
5656
* ],
5757
* // ...
58-
* // Shared configuration was written to config.php and system-specific configuration to env.php.
59-
* // Shared configuration file (config.php) doesn't contain sensitive data for security reasons.
6058
* // Sensitive data can be stored in the following environment variables:
6159
* // CONFIG__DEFAULT__SOME__CONF__PATH_ONE for some/conf/path_one
6260
* 'system' => [],

app/code/Magento/Config/Model/Config/TypePool.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class TypePool
5353
* Checks if the configuration path is contained in exclude list.
5454
*
5555
* @var ExcludeList
56-
* @deprecated We use it only to support backward compatibility if some configurations
56+
* @deprecated We use it only to support backward compatibility. If some configurations
5757
* were set to this list before, we need to read them.
5858
* It will be supported for next 2 minor releases or until a major release.
5959
* TypePool should be used to mark configurations with types.
@@ -77,8 +77,8 @@ public function __construct(array $sensitive = [], array $environment = [], Excl
7777
* Verifies that the configuration field path belongs to the specified type.
7878
*
7979
* For sensitive type, if configuration path was not found in the sensitive type pool
80-
* checks if this configuration path present in ExcludeList. It used only to support backward compatibility
81-
* if some configurations were set to ExcludeList before, we need to read them.
80+
* checks if this configuration path present in ExcludeList. It used only to support backward compatibility.
81+
* If some configurations were set to ExcludeList before, we need to read them.
8282
* It will be supported for next 2 minor releases or until a major release.
8383
*
8484
* @param string $path Configuration field path. For example, 'contact/email/recipient_email'

0 commit comments

Comments
 (0)