Skip to content

Removed remaining 4.x directives #12226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -783,10 +783,11 @@ option in the options field array::

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

.. versionadded:: 4.3
.. seealso::

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

Unmapped Fields
~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ Whether or not to enable the ``translator`` service in the service container.
fallbacks
.........

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

This option is used when the translation key for the current locale wasn't
found.
Expand Down
6 changes: 0 additions & 6 deletions translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -411,12 +411,6 @@ checks translation resources for several locales:
// ...
]);

.. deprecated:: 4.4

In Symfony versions before 4.4, the ``fallbacks`` option was initialized to
``en`` (English) when not configured explicitly. Starting from Symfony 4.4,
this option is initialized to the same value as the ``default_locale`` option.

.. note::

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