Skip to content

Commit 4b611d6

Browse files
committed
minor symfony#3717 [master] Fixed versionadded blocks (WouterJ)
This PR was merged into the master branch. Discussion ---------- [master] Fixed versionadded blocks It turns out we did a great job enforcing our new standard for 2.5. However, there were some small mark-up fixes waiting for a fix (and one consistency thing). | Q | A | --- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.5+ | Fixed tickets | - Commits ------- b3372cf Made versionadded consistent 239b1b6 Some markup fixes
2 parents 4fd5fc1 + b3372cf commit 4b611d6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Diff for: components/console/changing_default_command.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Changing the Default Command
66

77
.. versionadded:: 2.5
88
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
9-
method was introduced in version 2.5.
9+
method was introduced in Symfony 2.5.
1010

1111
will always run the ``ListCommand`` when no command name is passed. In order to change
1212
the default command you just need to pass the command name you want to run by

Diff for: components/options_resolver.rst

-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ method, which you can use if you want to add an allowed value to the previously
328328
configured allowed values.
329329

330330
.. versionadded:: 2.5
331-
332331
The callback support for allowed values was introduced in Symfony 2.5.
333332

334333
If you need to add some more logic to the value validation process, you can pass a callable

Diff for: cookbook/console/console_command.rst

+6-5
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ you can extend your test from
174174
.. versionadded:: 2.5
175175
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase` was
176176
extracted from :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`
177-
in Symfony 2.5, where WebTestCase was made to inherit from KernelTestCase.
178-
The difference being that WebTestCase makes available an instance of
179-
:class:`Symfony\\Bundle\\FrameworkBundle\\Client` via `createClient()`,
180-
while KernelTestCase makes available an instance of
181-
:class:`Symfony\\Component\\HttpKernel\\KernelInterface` via `createKernel()`.
177+
in Symfony 2.5. ``WebTestCase`` inherits from ``KernelTestCase``. The
178+
``WebTestCase`` creates an instance of
179+
:class:`Symfony\\Bundle\\FrameworkBundle\\Client` via ``createClient()``,
180+
while ``KernelTestCase`` creates an instance of
181+
:class:`Symfony\\Component\\HttpKernel\\KernelInterface` via
182+
``createKernel()``.

Diff for: reference/forms/types/collection.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ delete_empty
341341
~~~~~~~~~~~~
342342

343343
.. versionadded:: 2.5
344-
The delete_empty option was introduced in Symfony 2.5.
344+
The ``delete_empty`` option was introduced in Symfony 2.5.
345345

346346
**type**: ``Boolean`` **default**: ``false``
347347

0 commit comments

Comments
 (0)