Skip to content

Commit

Permalink
minor #3717 [master] Fixed versionadded blocks (WouterJ)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Mar 26, 2014
2 parents 4fd5fc1 + b3372cf commit 4b611d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/console/changing_default_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changing the Default Command

.. versionadded:: 2.5
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
method was introduced in version 2.5.
method was introduced in Symfony 2.5.

will always run the ``ListCommand`` when no command name is passed. In order to change
the default command you just need to pass the command name you want to run by
Expand Down
1 change: 0 additions & 1 deletion components/options_resolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ method, which you can use if you want to add an allowed value to the previously
configured allowed values.

.. versionadded:: 2.5

The callback support for allowed values was introduced in Symfony 2.5.

If you need to add some more logic to the value validation process, you can pass a callable
Expand Down
11 changes: 6 additions & 5 deletions cookbook/console/console_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ you can extend your test from
.. versionadded:: 2.5
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase` was
extracted from :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`
in Symfony 2.5, where WebTestCase was made to inherit from KernelTestCase.
The difference being that WebTestCase makes available an instance of
:class:`Symfony\\Bundle\\FrameworkBundle\\Client` via `createClient()`,
while KernelTestCase makes available an instance of
:class:`Symfony\\Component\\HttpKernel\\KernelInterface` via `createKernel()`.
in Symfony 2.5. ``WebTestCase`` inherits from ``KernelTestCase``. The
``WebTestCase`` creates an instance of
:class:`Symfony\\Bundle\\FrameworkBundle\\Client` via ``createClient()``,
while ``KernelTestCase`` creates an instance of
:class:`Symfony\\Component\\HttpKernel\\KernelInterface` via
``createKernel()``.
2 changes: 1 addition & 1 deletion reference/forms/types/collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ delete_empty
~~~~~~~~~~~~

.. versionadded:: 2.5
The delete_empty option was introduced in Symfony 2.5.
The ``delete_empty`` option was introduced in Symfony 2.5.

**type**: ``Boolean`` **default**: ``false``

Expand Down

0 comments on commit 4b611d6

Please sign in to comment.