Skip to content

Commit 53387b4

Browse files
javiereguiluzfabpot
authored andcommitted
Deprecated the web_profiler.position option
1 parent b80d8c8 commit 53387b4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ CHANGELOG
5353
`EventDispatcherDebugCommand`, `RouterDebugCommand`, `RouterMatchCommand`,
5454
`TranslationDebugCommand`, `TranslationUpdateCommand`, `XliffLintCommand`
5555
and `YamlLintCommand` classes have been marked as final
56+
* Deprecated the `web_profiler.position` config option (in Symfony 4.0 the toolbar
57+
will always be displayed at the bottom).
5658

5759
3.3.0
5860
-----

src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function getConfigTreeBuilder()
3939
->booleanNode('toolbar')->defaultFalse()->end()
4040
->scalarNode('position')
4141
->defaultValue('bottom')
42+
->setDeprecated('The "web_profiler.position" configuration key has been deprecated in Symfony 3.4 and it will be removed in 4.0.')
4243
->validate()
4344
->ifNotInArray(array('bottom', 'top'))
4445
->thenInvalid('The CSS position %s is not supported')

0 commit comments

Comments
 (0)