Skip to content

Commit 4b611d6

Browse files
committed
minor #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

components/console/changing_default_command.rst

Lines changed: 1 addition & 1 deletion
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

components/options_resolver.rst

Lines changed: 0 additions & 1 deletion
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

cookbook/console/console_command.rst

Lines changed: 6 additions & 5 deletions
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()``.

reference/forms/types/collection.rst

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy