Deprecated the web_profiler.position option
This commit is contained in:
parent
b80d8c8917
commit
53387b4335
@ -53,6 +53,8 @@ CHANGELOG
|
||||
`EventDispatcherDebugCommand`, `RouterDebugCommand`, `RouterMatchCommand`,
|
||||
`TranslationDebugCommand`, `TranslationUpdateCommand`, `XliffLintCommand`
|
||||
and `YamlLintCommand` classes have been marked as final
|
||||
* Deprecated the `web_profiler.position` config option (in Symfony 4.0 the toolbar
|
||||
will always be displayed at the bottom).
|
||||
|
||||
3.3.0
|
||||
-----
|
||||
|
@ -39,6 +39,7 @@ class Configuration implements ConfigurationInterface
|
||||
->booleanNode('toolbar')->defaultFalse()->end()
|
||||
->scalarNode('position')
|
||||
->defaultValue('bottom')
|
||||
->setDeprecated('The "web_profiler.position" configuration key has been deprecated in Symfony 3.4 and it will be removed in 4.0.')
|
||||
->validate()
|
||||
->ifNotInArray(array('bottom', 'top'))
|
||||
->thenInvalid('The CSS position %s is not supported')
|
||||
|
Reference in New Issue
Block a user