Skip to content

Commit a2a7c9c

Browse files
Merge pull request #19495 from kamil-tekiela/Config-refactoring
Config refactoring
2 parents ce440bf + 48a61c9 commit a2a7c9c

70 files changed

Lines changed: 571 additions & 1145 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if (! class_exists(Application::class)) {
2828
$containerBuilder = ContainerBuilder::getContainer();
2929
$cfg['environment'] = 'production';
3030
$config = new Config();
31-
$config->loadAndCheck(CONFIG_FILE);
31+
$config->loadFromFile(CONFIG_FILE);
3232
$config->set('environment', $cfg['environment']);
3333
$dbi = DatabaseInterface::getInstanceForTest(new DbiDummy());
3434

docs/config.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3050,6 +3050,10 @@ Web server settings
30503050
a certain patch is known to cause data corruption when having enabled
30513051
buffering.
30523052

3053+
.. deprecated:: 6.0.0
3054+
3055+
This setting was removed.
3056+
30533057
.. config:option:: $cfg['TrustedProxies']
30543058
30553059
:type: array

0 commit comments

Comments
 (0)