From 7f40f23918bcd9871af2e8cbec9332124c2b350b Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 17 Nov 2014 15:03:55 +0100 Subject: [PATCH] remove versionadded directives for old versions --- book/security.rst | 3 --- components/filesystem/introduction.rst | 5 ----- cookbook/security/entity_provider.rst | 4 ---- reference/forms/types/options/with_minutes.rst.inc | 3 --- reference/twig_reference.rst | 11 ++--------- 5 files changed, 2 insertions(+), 24 deletions(-) diff --git a/book/security.rst b/book/security.rst index f9d75d6f913..13d2057cf61 100644 --- a/book/security.rst +++ b/book/security.rst @@ -1546,9 +1546,6 @@ do the following: ), )); -.. versionadded:: 2.2 - The BCrypt encoder was introduced in Symfony 2.2. - You can now calculate the hashed password either programmatically (e.g. ``password_hash('ryanpass', PASSWORD_BCRYPT, array('cost' => 12));``) or via some online tool. diff --git a/components/filesystem/introduction.rst b/components/filesystem/introduction.rst index 8990198aa41..44603184c0c 100644 --- a/components/filesystem/introduction.rst +++ b/components/filesystem/introduction.rst @@ -6,11 +6,6 @@ The Filesystem Component The Filesystem component provides basic utilities for the filesystem. -.. versionadded:: 2.1 - The Filesystem component was introduced in Symfony 2.1. Previously, the - ``Filesystem`` class was located in the HttpKernel component. - - .. tip:: A lock handler feature was introduce in symfony 2.6. diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst index c2994ae7fd8..5975f2f4823 100644 --- a/cookbook/security/entity_provider.rst +++ b/cookbook/security/entity_provider.rst @@ -877,7 +877,3 @@ then instead of these properties being checked, your ``isEqualTo`` method is simply called, and you can check whatever properties you want. Unless you understand this, you probably *won't* need to implement this interface or worry about it. - -.. versionadded:: 2.1 - In Symfony 2.1, the ``equals`` method was removed from ``UserInterface`` - and the ``EquatableInterface`` was introduced in its place. diff --git a/reference/forms/types/options/with_minutes.rst.inc b/reference/forms/types/options/with_minutes.rst.inc index 48e6cdddcaf..60ad9b94515 100644 --- a/reference/forms/types/options/with_minutes.rst.inc +++ b/reference/forms/types/options/with_minutes.rst.inc @@ -1,9 +1,6 @@ with_minutes ~~~~~~~~~~~~ -.. versionadded:: 2.2 - The ``with_minutes`` option was introduced in Symfony 2.2. - **type**: ``Boolean`` **default**: ``true`` Whether or not to include minutes in the input. This will result in an additional diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 8a7f5ad33e3..8ca549abec6 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -24,10 +24,6 @@ Functions render ~~~~~~ -.. versionadded:: 2.2 - The ``render()`` function was introduced in Symfony 2.2. Prior, the - ``{% render %}`` tag was used and had a different signature. - .. code-block:: jinja {{ render(uri, options) }} @@ -40,7 +36,7 @@ render Renders the fragment for the given controller (using the `controller`_ function) or URI. For more information, see :ref:`templating-embedding-controller`. -The render strategy can be specified in the ``strategy`` key of the options. +The render strategy can be specified in the ``strategy`` key of the options. .. tip:: @@ -65,7 +61,7 @@ Generates an ESI tag when possible or falls back to the behaviour of .. tip:: The URI can be generated by other functions, like `path`_ and `url`_. - + .. tip:: The ``render_esi()`` function is an example of the shortcut functions @@ -76,9 +72,6 @@ Generates an ESI tag when possible or falls back to the behaviour of controller ~~~~~~~~~~ -.. versionadded:: 2.2 - The ``controller()`` function was introduced in Symfony 2.2. - .. code-block:: jinja {{ controller(controller, attributes, query) }}