Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f890fb9

Browse files
committed
[FrameworkBundle] Deprecate "legacy_error_messages" form config node
1 parent 58117d7 commit f890fb9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CHANGELOG
1818
`workflow.state_machine`
1919
* Add `rate_limiter` configuration option to `messenger.transport` to allow rate limited transports using the RateLimiter component
2020
* Remove `@internal` tag from secret vaults to allow them to be used directly outside the framework bundle and custom vaults to be added
21+
* Deprecate "framework.form.legacy_error_messages" config node
2122

2223
6.1
2324
---

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,9 @@ private function addFormSection(ArrayNodeDefinition $rootNode, callable $enableI
237237
->scalarNode('field_name')->defaultValue('_token')->end()
238238
->end()
239239
->end()
240-
// to be deprecated in Symfony 6.1
241-
->booleanNode('legacy_error_messages')->end()
240+
->booleanNode('legacy_error_messages')
241+
->setDeprecated('symfony/framework-bundle', '6.2')
242+
->end()
242243
->end()
243244
->end()
244245
->end()

0 commit comments

Comments
 (0)