Skip to content

[master] Fixed versionadded blocks #3717

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 2 commits into from
Mar 26, 2014
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
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