Skip to content

Commit c97c6d4

Browse files
committed
feature #24080 Deprecated the web_profiler.position option (javiereguiluz)
This PR was squashed before being merged into the 3.4 branch (closes #24080). Discussion ---------- Deprecated the web_profiler.position option | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #23528 | License | MIT | Doc PR | - Related to #23728, which removes the feature for Symfony 4.0. Commits ------- 53387b4 Deprecated the web_profiler.position option
2 parents 22c0028 + 53387b4 commit c97c6d4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

+2
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

+1
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)