Skip to content

Commit 91b3058

Browse files
committed
removed more obsolete versionadded directives
1 parent 3c767f6 commit 91b3058

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+0
-356
lines changed

bundles/extension.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ Symfony creates a big ``classes.php`` file in the cache directory to aggregate
139139
the contents of the PHP classes that are used in every request. This reduces the
140140
I/O operations and increases the application performance.
141141

142-
.. versionadded:: 3.2
143-
144-
The ``addAnnotatedClassesToCompile()`` method was added in Symfony 3.2.
145-
146142
Your bundles can also add their own classes into this file thanks to the
147143
``addClassesToCompile()`` and ``addAnnotatedClassesToCompile()`` methods (both
148144
work in the same way, but the second one is for classes that contain PHP
@@ -176,10 +172,6 @@ class names::
176172
If some class extends from other classes, all its parents are automatically
177173
included in the list of classes to compile.
178174

179-
.. versionadded:: 3.2
180-
181-
The option to add classes to compile using patterns was introduced in Symfony 3.2.
182-
183175
The classes to compile can also be added using file path patterns::
184176

185177
// ...

components/cache.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ The Cache Component
1414
adapters for the most common caching backends, including proxies for adapting
1515
from/to `Doctrine Cache`_.
1616

17-
.. versionadded:: 3.3
18-
19-
The PSR-16 "Simple Cache" implementation was introduced in Symfony 3.3.
20-
2117
Installation
2218
------------
2319

components/cache/adapters/memcached_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
Memcached Cache Adapter
88
=======================
99

10-
.. versionadded:: 3.3
11-
12-
The Memcached adapter was introduced in Symfony 3.3.
13-
1410
This adapter stores the values in-memory using one (or more) `Memcached server`_
1511
instances. Unlike the :ref:`APCu adapter <apcu-adapter>`, and similarly to the
1612
:ref:`Redis adapter <redis-adapter>`, it is not limited to the current server's

components/cache/adapters/pdo_doctrine_dbal_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
PDO & Doctrine DBAL Cache Adapter
88
=================================
99

10-
.. versionadded:: 3.2
11-
12-
The PDO & Doctrine DBAL adapter was introduced in Symfony 3.2.
13-
1410
This adapter stores the cache items in an SQL database. It requires a `PDO`_,
1511
`Doctrine DBAL Connection`_, or `Data Source Name (DSN)`_ as its first parameter, and
1612
optionally a namespace, default cache lifetime, and options array as its second,

components/cache/cache_invalidation.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ The Symfony Cache component provides two mechanisms to help solving this problem
2020
Using Cache Tags
2121
----------------
2222

23-
.. versionadded:: 3.2
24-
25-
Tags-based invalidation was introduced in Symfony 3.2.
26-
2723
To benefit from tags-based invalidation, you need to attach the proper tags to
2824
each cached item. Each tag is a plain string identifier that you can use at any
2925
time to trigger the removal of all items associated with this tag.

components/config/definition.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,22 +187,11 @@ Or you may define a prototype for each node inside an array node::
187187
->end()
188188
;
189189

190-
.. versionadded:: 3.3
191-
192-
The ``arrayPrototype()`` method (and the related ``booleanPrototype()``
193-
``integerPrototype()``, ``floatPrototype()``, ``scalarPrototype()`` and
194-
``enumPrototype()``) was introduced in Symfony 3.3. In previous versions,
195-
you needed to use ``prototype('array')``, ``prototype('boolean')``, etc.
196-
197190
A prototype can be used to add a definition which may be repeated many times
198191
inside the current node. According to the prototype definition in the example
199192
above, it is possible to have multiple connection arrays (containing a ``driver``,
200193
``host``, etc.).
201194

202-
.. versionadded:: 3.3
203-
204-
The ``castToArray()`` helper was added in Symfony 3.3.
205-
206195
Sometimes, to improve the user experience of your application or bundle, you may
207196
allow to use a simple string or numeric value where an array value is required.
208197
Use the ``castToArray()`` helper to turn those variables into arrays::

components/console/logger.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ constructor::
108108
Errors
109109
------
110110

111-
.. versionadded:: 3.2
112-
113-
The ``hasErrored()`` method was introduced in Symfony 3.2.
114-
115111
The Console logger includes a ``hasErrored()`` method which returns ``true`` as
116112
soon as any error message has been logged during the execution of the command.
117113
This is useful to decide which status code to return as the result of executing

components/dependency_injection/compilation.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,6 @@ been run, use::
423423
PassConfig::TYPE_AFTER_REMOVING
424424
);
425425

426-
.. versionadded:: 3.2
427-
428-
The option to prioritize compiler passes was added in Symfony 3.2.
429-
430426
You can also control the order in which compiler passes are run for each
431427
compilation phase. Use the optional third argument of ``addCompilerPass()`` to
432428
set the priority as an integer number. The default priority is ``0`` and the higher

components/dom_crawler.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,6 @@ and :phpclass:`DOMNode` objects::
300300
Expression Evaluation
301301
~~~~~~~~~~~~~~~~~~~~~
302302

303-
.. versionadded:: 3.2
304-
305-
The :method:`Symfony\\Component\\DomCrawler\\Crawler::evaluate` method was
306-
introduced in Symfony 3.2.
307-
308303
The ``evaluate()`` method evaluates the given XPath expression. The return
309304
value depends on the XPath expression. If the expression evaluates to a scalar
310305
value (e.g. HTML attributes), an array of results will be returned. If the
@@ -444,13 +439,6 @@ than just return the ``action`` attribute of the form. If the form method
444439
is GET, then it mimics the browser's behavior and returns the ``action``
445440
attribute followed by a query string of all of the form's values.
446441

447-
.. versionadded:: 3.3
448-
449-
Starting from Symfony 3.3, the optional ``formaction`` and ``formmethod``
450-
button attributes are supported. The ``getUri()`` and ``getMethod()``
451-
methods take into account those attributes to always return the right action
452-
and method depending on the button used to get the form.
453-
454442
You can virtually set and get values on the form::
455443

456444
// sets values on the form internally

components/dotenv.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ The Dotenv Component
88
The Dotenv Component parses ``.env`` files to make environment variables
99
stored in them accessible via ``getenv()``, ``$_ENV`` or ``$_SERVER``.
1010

11-
.. versionadded:: 3.3
12-
13-
The Dotenv component was introduced in Symfony 3.3.
14-
1511
Installation
1612
------------
1713

0 commit comments

Comments
 (0)