Skip to content

[Reference][Forms] move cautions to make them visible #4764

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
Jan 16, 2015
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
10 changes: 6 additions & 4 deletions components/class_loader/debug_class_loader.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.. index::
single: ClassLoader; DebugClassLoader

Debugging a Class Loader
========================

Since Symfony 2.4, the ``DebugClassLoader`` of the Class Loader component is
deprecated. Use the
:doc:`DebugClassLoader provided by the Debug component </components/debug/class_loader>`.
.. caution::

The ``DebugClassLoader`` from the ClassLoader component was deprecated
in Symfony 2.5 and will be removed in Symfony 3.0. Use the
:doc:`DebugClassLoader provided by the Debug component </components/debug/class_loader>`.
6 changes: 3 additions & 3 deletions components/console/helpers/map.rst.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
* :doc:`/components/console/helpers/dialoghelper`
* :doc:`/components/console/helpers/dialoghelper` (deprecated as of 2.5)
* :doc:`/components/console/helpers/formatterhelper`
* :doc:`/components/console/helpers/progressbar`
* :doc:`/components/console/helpers/progresshelper`
* :doc:`/components/console/helpers/progresshelper` (deprecated as of 2.5)
* :doc:`/components/console/helpers/questionhelper`
* :doc:`/components/console/helpers/table`
* :doc:`/components/console/helpers/tablehelper`
* :doc:`/components/console/helpers/tablehelper` (deprecated as of 2.5)
6 changes: 3 additions & 3 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ tools capable of helping you with different tasks:

* :doc:`/components/console/helpers/questionhelper`: interactively ask the user for information
* :doc:`/components/console/helpers/formatterhelper`: customize the output colorization
* :doc:`/components/console/helpers/progresshelper`: shows a progress bar
* :doc:`/components/console/helpers/tablehelper`: displays tabular data as a table
* :doc:`/components/console/helpers/dialoghelper`: (deprecated) interactively ask the user for information
* :doc:`/components/console/helpers/progressbar`: shows a progress bar
* :doc:`/components/console/helpers/table`: displays tabular data as a table
* :doc:`/components/console/helpers/questionhelper`: interactively ask the user for information

.. _component-console-testing-commands:

Expand Down
11 changes: 6 additions & 5 deletions reference/forms/types/options/max_length.rst.inc
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
.. caution::

The ``max_length`` option has been deprecated and will be removed in 3.0.
Instead, use the ``attr`` option by setting it to an array with a ``maxlength`` key.

max_length
~~~~~~~~~~

.. caution::

The ``max_length`` option was deprecated in Symfony 2.5 and will be removed
in Symfony 3.0. Use the ``attr`` option instead by setting it to an array
with a ``maxlength`` key.

**type**: ``integer`` **default**: ``null``

If this option is not null, an attribute ``maxlength`` is added, which
Expand Down
11 changes: 6 additions & 5 deletions reference/forms/types/options/pattern.rst.inc
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
.. caution::

The ``pattern`` option has been deprecated and will be removed in 3.0.
Instead, use the ``attr`` option by setting it to an array with a ``pattern`` key.

pattern
~~~~~~~

.. caution::

The ``pattern`` option was deprecated in Symfony 2.5 and will be removed
in Symfony 3.0. Use the ``attr`` option instead by setting it to an array
with a ``pattern`` key.

**type**: ``string`` **default**: ``null``

This adds an HTML5 ``pattern`` attribute to restrict the field input by a
Expand Down