Skip to content

Commit 76c50c4

Browse files
committed
Removed remaining 4.x directives
1 parent 0174794 commit 76c50c4

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

forms.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,11 @@ option in the options field array::
783783

784784
->add('task', null, ['attr' => ['maxlength' => 4]])
785785

786-
.. versionadded:: 4.3
786+
.. seealso::
787787

788-
Starting from Symfony 4.3, :doc:`Doctrine </doctrine>` metadata is introspected
789-
to add :ref:`automatic validation constraints <automatic_object_validation>`.
788+
Besides guessing the form type, Symfony also guesses `validation constraints <validating-forms>`_
789+
if you're using a Doctrine entity. Read :ref:`automatic_object_validation`
790+
guide for more information.
790791

791792
Unmapped Fields
792793
~~~~~~~~~~~~~~~

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ Whether or not to enable the ``translator`` service in the service container.
19391939
fallbacks
19401940
.........
19411941

1942-
**type**: ``string|array`` **default**: ``['en']``
1942+
**type**: ``string|array`` **default**: value of `default_locale`_
19431943

19441944
This option is used when the translation key for the current locale wasn't
19451945
found.

translation.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,6 @@ checks translation resources for several locales:
411411
// ...
412412
]);
413413
414-
.. deprecated:: 4.4
415-
416-
In Symfony versions before 4.4, the ``fallbacks`` option was initialized to
417-
``en`` (English) when not configured explicitly. Starting from Symfony 4.4,
418-
this option is initialized to the same value as the ``default_locale`` option.
419-
420414
.. note::
421415

422416
When Symfony can't find a translation in the given locale, it will

0 commit comments

Comments
 (0)