Skip to content

Commit bcc55c5

Browse files
committed
Removed Symfony 4.* versionadded directives
1 parent c168266 commit bcc55c5

Some content is hidden

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

62 files changed

+2
-429
lines changed

cache.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ Basic uses of the cache looks like this::
3030
Symfony supports the Cache Contracts, PSR-6/16 and Doctrine Cache interfaces.
3131
You can read more about these at the :doc:`component documentation </components/cache>`.
3232

33-
.. versionadded:: 4.2
34-
35-
The cache contracts were introduced in Symfony 4.2.
36-
3733
.. _cache-configuration-with-frameworkbundle:
3834

3935
Configuring Cache with FrameworkBundle
@@ -612,10 +608,6 @@ To see all available cache pools:
612608
613609
$ php bin/console cache:pool:list
614610
615-
.. versionadded:: 4.3
616-
617-
The ``cache:pool:list`` command was introduced in Symfony 4.3.
618-
619611
Clear one pool:
620612

621613
.. code-block:: terminal

components/cache/adapters/memcached_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ helper method allows creating and configuring a `Memcached`_ class instance usin
7070
'memcached:?host[localhost]&host[localhost:12345]&host[/some/memcached.sock:]=3'
7171
);
7272

73-
.. versionadded:: 4.2
74-
75-
The option to define multiple servers in a single DSN was introduced in Symfony 4.2.
76-
7773
The `Data Source Name (DSN)`_ for this adapter must use the following format:
7874

7975
.. code-block:: text

components/cache/adapters/redis_adapter.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,6 @@ name of your service group::
102102
'redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&redis_sentinel=mymaster'
103103
);
104104

105-
.. versionadded:: 4.2
106-
107-
The option to define multiple servers in a single DSN was introduced in Symfony 4.2.
108-
109-
.. versionadded:: 4.4
110-
111-
Redis Sentinel support was introduced in Symfony 4.4.
112-
113105
.. note::
114106

115107
See the :class:`Symfony\\Component\\Cache\\Traits\\RedisTrait` for more options

components/cache/psr6_psr16_adapters.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ this use-case::
4646
// now use this wherever you want
4747
$githubApiClient = new GitHubApiClient($psr6Cache);
4848

49-
.. versionadded:: 4.3
50-
51-
The ``Psr16Adapter`` class was introduced in Symfony 4.3.
52-
5349
Using a PSR-6 Cache Object as a PSR-16 Cache
5450
--------------------------------------------
5551

@@ -87,8 +83,4 @@ this use-case::
8783
// now use this wherever you want
8884
$githubApiClient = new GitHubApiClient($psr16Cache);
8985

90-
.. versionadded:: 4.3
91-
92-
The ``Psr16Cache`` class was introduced in Symfony 4.3.
93-
9486
.. _`PSR-16`: http://www.php-fig.org/psr/psr-16/

components/console/helpers/progressbar.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ If ``$iterable = [1, 2]``, the previous code will output the following:
118118
1/2 [==============>-------------] 50%
119119
2/2 [============================] 100%
120120
121-
.. versionadded:: 4.3
122-
123-
The ``iterate()`` method was introduced in Symfony 4.3.
124-
125121
Customizing the Progress Bar
126122
----------------------------
127123

components/console/helpers/questionhelper.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ provide a callback function to dynamically generate suggestions::
212212
$filePath = $helper->ask($input, $output, $question);
213213
}
214214

215-
.. versionadded:: 4.3
216-
217-
The ``setAutocompleterCallback()`` method was introduced in Symfony 4.3.
218-
219215
Hiding the User's Response
220216
~~~~~~~~~~~~~~~~~~~~~~~~~~
221217

components/dom_crawler.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ tree.
7777
The DomCrawler component will use it automatically when the content has
7878
an HTML5 doctype.
7979

80-
.. versionadded:: 4.3
81-
82-
The automatic support of the html5-php library was introduced in Symfony 4.3.
83-
8480
Node Filtering
8581
~~~~~~~~~~~~~~
8682

@@ -216,10 +212,6 @@ Access the value of the first node of the current selection::
216212
// avoid the exception passing an argument that text() returns when node does not exist
217213
$message = $crawler->filterXPath('//body/p')->text('Default text content');
218214

219-
.. versionadded:: 4.3
220-
221-
The default argument of ``text()`` was introduced in Symfony 4.3.
222-
223215
Access the attribute value of the first node of the current selection::
224216

225217
$class = $crawler->filterXPath('//body/p')->attr('class');
@@ -236,10 +228,6 @@ Extract attribute and/or node values from the list of nodes::
236228
Special attribute ``_text`` represents a node value, while ``_name``
237229
represents the element name (the HTML tag name).
238230

239-
.. versionadded:: 4.3
240-
241-
The special attribute ``_name`` was introduced in Symfony 4.3.
242-
243231
Call an anonymous function on each node of the list::
244232

245233
use Symfony\Component\DomCrawler\Crawler;
@@ -333,10 +321,6 @@ and :phpclass:`DOMNode` objects::
333321
// avoid the exception passing an argument that html() returns when node does not exist
334322
$html = $crawler->html('Default <strong>HTML</strong> content');
335323

336-
.. versionadded:: 4.3
337-
338-
The default argument of ``html()`` was introduced in Symfony 4.3.
339-
340324
Expression Evaluation
341325
~~~~~~~~~~~~~~~~~~~~~
342326

components/dotenv.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ You can adjust the variable defining the environment, default environment and te
104104
environments by passing them as additional arguments to ``Dotenv::loadEnv()``
105105
(see :method:`Symfony\\Component\\Dotenv\\Dotenv::loadEnv` for details).
106106

107-
.. versionadded:: 4.2
108-
109-
The ``Dotenv::loadEnv()`` method was introduced in Symfony 4.2.
110-
111107
You should never store a ``.env`` file in your code repository as it might
112108
contain sensitive information; create a ``.env.dist`` file (or multiple
113109
environment-specific ones as shown above) with sensible defaults instead.

components/finder.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@ rules to exclude files and directories from the results with the
150150
// excludes files/directories matching the .gitignore patterns
151151
$finder->ignoreVCSIgnored(true);
152152

153-
.. versionadded:: 4.3
154-
155-
The ``ignoreVCSIgnored()`` method was introduced in Symfony 4.3.
156-
157153
File Name
158154
~~~~~~~~~
159155

@@ -250,11 +246,6 @@ Multiple paths can be excluded by chaining calls or passing an array::
250246
// same as above
251247
$finder->notPath(['first/dir', 'other/dir']);
252248

253-
.. versionadded:: 4.2
254-
255-
Support for passing arrays to ``notPath()`` was introduced in Symfony
256-
4.2
257-
258249
File Size
259250
~~~~~~~~~
260251

components/http_client.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ The HttpClient Component
88
The HttpClient component is a low-level HTTP client with support for both
99
PHP stream wrappers and cURL. It also provides utilities to consume APIs.
1010

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy