Skip to content

Commit 85a3b27

Browse files
hiddewiexabbuh
authored andcommitted
Improve invalid messages for form types
1 parent e1eaec7 commit 85a3b27

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Tests/Functional/app/FirewallEntryPoint/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ framework:
33
router: { resource: "%kernel.project_dir%/%kernel.test_case%/routing.yml", utf8: true }
44
validation: { enabled: true, enable_annotations: true }
55
csrf_protection: true
6-
form: true
6+
form:
7+
enabled: true
8+
legacy_error_messages: false
79
test: ~
810
default_locale: en
911
session:

Tests/Functional/app/config/framework.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ framework:
44
validation: { enabled: true, enable_annotations: true }
55
assets: ~
66
csrf_protection: true
7-
form: true
7+
form:
8+
enabled: true
9+
legacy_error_messages: false
810
test: ~
911
default_locale: en
1012
session:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"symfony/dom-crawler": "^4.4|^5.0",
3838
"symfony/expression-language": "^4.4|^5.0",
3939
"symfony/form": "^4.4|^5.0",
40-
"symfony/framework-bundle": "^4.4|^5.0",
40+
"symfony/framework-bundle": "^5.2",
4141
"symfony/process": "^4.4|^5.0",
4242
"symfony/serializer": "^4.4|^5.0",
4343
"symfony/translation": "^4.4|^5.0",

0 commit comments

Comments
 (0)