Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

remove Symfony 2/3 versionadded directives #10902

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 1 commit into from
Jan 18, 2019
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
remove Symfony 2/3 versionadded directives
  • Loading branch information
xabbuh committed Jan 18, 2019
commit de2802d71a35e3ba1dfd584e55a2ce42cc9442ab
5 changes: 0 additions & 5 deletions 5 components/process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ with a non-zero code)::

.. tip::

.. versionadded:: 3.3

The ability to define commands as arrays of arguments was introduced in
Symfony 3.3.

Using array of arguments is the recommended way to define commands. This
saves you from any escaping and allows sending signals seamlessly
(e.g. to stop processes before completion.)::
Expand Down
5 changes: 0 additions & 5 deletions 5 components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ needs three parameters:
#. The name of the class this information will be decoded to
#. The encoder used to convert that information into an array

.. versionadded:: 3.3

Support for the ``allow_extra_attributes`` key in the context was introduced
in Symfony 3.3.

By default, additional attributes that are not mapped to the denormalized object
will be ignored by the Serializer component. If you prefer to throw an exception
when this happens, set the ``allow_extra_attributes`` context option to
Expand Down
4 changes: 0 additions & 4 deletions 4 components/validator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ If you have lots of validation errors, you can filter them by error code::
// handle this specific error (display some message, send an email, etc.)
}

.. versionadded:: 3.3

The ``findByCodes()`` method was introduced in Symfony 3.3.

Retrieving a Validator Instance
-------------------------------

Expand Down
4 changes: 0 additions & 4 deletions 4 configuration/external_parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ the following:
Environment Variable Processors
-------------------------------

.. versionadded:: 3.4

Environment variable processors were introduced in Symfony 3.4.

The values of environment variables are considered strings by default.
However, your code may expect other data types, like integers or booleans.
Symfony solves this problem with *processors*, which modify the contents of the
Expand Down
4 changes: 0 additions & 4 deletions 4 console/request_context.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ will override the defaults.
$container->setParameter('asset.request_context.base_path', $container->getParameter('router.request_context.base_url'));
$container->setParameter('asset.request_context.secure', true);

.. versionadded:: 3.4

The ``asset.request_context.*`` parameters were introduced in Symfony 3.4.

Configuring the Request Context per Command
-------------------------------------------

Expand Down
4 changes: 0 additions & 4 deletions 4 reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1591,10 +1591,6 @@ for translation files.
default_path
............

.. versionadded:: 3.4

The ``default_path`` option was introduced in Symfony 3.4.

**type**: ``string`` **default**: ``%kernel.project_dir%/translations``

This option allows to define the path where the application translations files
Expand Down
5 changes: 0 additions & 5 deletions 5 reference/forms/types/number.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ Field Options
scale
~~~~~

.. versionadded:: 2.7

The ``scale`` option was introduced in Symfony 2.7. Prior to Symfony 2.7,
it was known as ``precision``.

**type**: ``integer`` **default**: Locale-specific (usually around ``3``)

This specifies how many decimals will be allowed until the field rounds
Expand Down
4 changes: 0 additions & 4 deletions 4 service_container/alias_private.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ Anonymous Services

Anonymous services are only supported by the XML and YAML configuration formats.

.. versionadded:: 3.3

The feature to configure anonymous services in YAML was introduced in Symfony 3.3.

In some cases, you may want to prevent a service being used as a dependency of
other services. This can be achieved by creating an anonymous service. These
services are like regular services but they don't define an ID and they are
Expand Down
4 changes: 0 additions & 4 deletions 4 service_container/service_subscribers_locators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
Service Subscribers & Locators
==============================

.. versionadded:: 3.3

Service subscribers and locators were introduced in Symfony 3.3.

Sometimes, a service needs access to several other services without being sure
that all of them will actually be used. In those cases, you may want the
instantiation of the services to be lazy. However, that's not possible using
Expand Down
4 changes: 0 additions & 4 deletions 4 testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,6 @@ will no longer be followed::
Reporting Exceptions
~~~~~~~~~~~~~~~~~~~~

.. versionadded:: 3.4

The ``catchExceptions()`` method was introduced in Symfony 3.4.

Debugging exceptions in functional tests may be difficult because by default
they are caught and you need to look at the logs to see which exception was
thrown. Disabling catching of exceptions in the test client allows the exception
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.