Skip to content

Commit 240a981

Browse files
committed
minor #4764 [Reference][Forms] move cautions to make them visible (xabbuh)
This PR was merged into the 2.5 branch. Discussion ---------- [Reference][Forms] move cautions to make them visible | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.5+ | Fixed tickets | If the reader follows a direct link to the option's description, they would very likely not see the caution as it was rendered outside the viewport. Commits ------- e9559a5 move cautions to make them visible
2 parents 50946ca + e9559a5 commit 240a981

File tree

5 files changed

+24
-20
lines changed

5 files changed

+24
-20
lines changed

Diff for: components/class_loader/debug_class_loader.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.. index::
22
single: ClassLoader; DebugClassLoader
3-
3+
44
Debugging a Class Loader
55
========================
66

7-
Since Symfony 2.4, the ``DebugClassLoader`` of the Class Loader component is
8-
deprecated. Use the
9-
:doc:`DebugClassLoader provided by the Debug component </components/debug/class_loader>`.
7+
.. caution::
8+
9+
The ``DebugClassLoader`` from the ClassLoader component was deprecated
10+
in Symfony 2.5 and will be removed in Symfony 3.0. Use the
11+
:doc:`DebugClassLoader provided by the Debug component </components/debug/class_loader>`.

Diff for: components/console/helpers/map.rst.inc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
* :doc:`/components/console/helpers/dialoghelper`
1+
* :doc:`/components/console/helpers/dialoghelper` (deprecated as of 2.5)
22
* :doc:`/components/console/helpers/formatterhelper`
33
* :doc:`/components/console/helpers/progressbar`
4-
* :doc:`/components/console/helpers/progresshelper`
4+
* :doc:`/components/console/helpers/progresshelper` (deprecated as of 2.5)
55
* :doc:`/components/console/helpers/questionhelper`
66
* :doc:`/components/console/helpers/table`
7-
* :doc:`/components/console/helpers/tablehelper`
7+
* :doc:`/components/console/helpers/tablehelper` (deprecated as of 2.5)

Diff for: components/console/introduction.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@ tools capable of helping you with different tasks:
409409

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

416416
.. _component-console-testing-commands:
417417

Diff for: reference/forms/types/options/max_length.rst.inc

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
.. caution::
2-
3-
The ``max_length`` option has been deprecated and will be removed in 3.0.
4-
Instead, use the ``attr`` option by setting it to an array with a ``maxlength`` key.
5-
61
max_length
72
~~~~~~~~~~
83

4+
.. caution::
5+
6+
The ``max_length`` option was deprecated in Symfony 2.5 and will be removed
7+
in Symfony 3.0. Use the ``attr`` option instead by setting it to an array
8+
with a ``maxlength`` key.
9+
910
**type**: ``integer`` **default**: ``null``
1011

1112
If this option is not null, an attribute ``maxlength`` is added, which

Diff for: reference/forms/types/options/pattern.rst.inc

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
.. caution::
2-
3-
The ``pattern`` option has been deprecated and will be removed in 3.0.
4-
Instead, use the ``attr`` option by setting it to an array with a ``pattern`` key.
5-
61
pattern
72
~~~~~~~
83

4+
.. caution::
5+
6+
The ``pattern`` option was deprecated in Symfony 2.5 and will be removed
7+
in Symfony 3.0. Use the ``attr`` option instead by setting it to an array
8+
with a ``pattern`` key.
9+
910
**type**: ``string`` **default**: ``null``
1011

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

0 commit comments

Comments
 (0)