Skip to content

Commit 3654d13

Browse files
committed
minor #12005 Remove old versionadded directives (OskarStark)
This PR was merged into the master branch. Discussion ---------- Remove old versionadded directives <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- c054789 Remove old versionadded directives
2 parents bb2ffeb + c054789 commit 3654d13

File tree

13 files changed

+0
-72
lines changed

13 files changed

+0
-72
lines changed

bundles.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ For example, the **public directory**, which by default is located at
142142
}
143143
}
144144

145-
.. versionadded:: 4.4
146-
147-
The ``getPublicDir()`` method was introduced in Symfony 4.4.
148-
149145
Learn more
150146
----------
151147

components/browser_kit.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,6 @@ dedicated web crawler or scraper such as `Goutte`_::
311311
'.table-list-header-toggle a:nth-child(1)'
312312
)->text());
313313

314-
.. versionadded:: 4.3
315-
316-
The feature to make external HTTP requests was introduced in Symfony 4.3.
317-
318314
Learn more
319315
----------
320316

components/http_client.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ each request (which overrides any global authentication)::
151151

152152
The NTLM authentication mechanism requires using the cURL transport.
153153

154-
.. versionadded:: 4.4
155-
156-
The ``auth_ntlm`` option was introduced in Symfony 4.4.
157-
158154
Query String Parameters
159155
~~~~~~~~~~~~~~~~~~~~~~~
160156

@@ -701,17 +697,9 @@ Now you can make HTTP requests with the PSR-18 client as follows::
701697

702698
$content = json_decode($response->getBody()->getContents(), true);
703699

704-
.. versionadded:: 4.4
705-
706-
The PSR-17 factory methods of ``Psr18Client`` were introduced in Symfony 4.4.
707-
708700
HTTPlug
709701
~~~~~~~
710702

711-
.. versionadded:: 4.4
712-
713-
Support for HTTPlug was introduced in Symfony 4.4.
714-
715703
The `HTTPlug`_ specification was published before PSR-18 and is superseded by
716704
it. As such, you should not use it in newly written code. Yet, many libraries
717705
still require v1 or v2 of it. The component is interoperable with them thanks to

components/lock.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ which in turn requires another class to manage the storage of locks::
3333
$store = new SemaphoreStore();
3434
$factory = new LockFactory($store);
3535

36-
.. versionadded:: 4.4
37-
38-
The ``Symfony\Component\Lock\LockFactory`` class was introduced in Symfony
39-
4.4. In previous versions it was called ``Symfony\Component\Lock\Factory``.
40-
4136
The lock is created by calling the :method:`Symfony\\Component\\Lock\\LockFactory::createLock`
4237
method. Its first argument is an arbitrary string that represents the locked
4338
resource. Then, a call to the :method:`Symfony\\Component\\Lock\\LockInterface::acquire`
@@ -229,12 +224,6 @@ Store Scope Blocking Expiring
229224
:ref:`ZookeeperStore <lock-store-zookeeper>` remote no no
230225
============================================ ====== ======== ========
231226

232-
.. versionadded:: 4.4
233-
234-
The ``PersistStoreInterface`` and ``BlockingStoreInterface`` interfaces were
235-
introduced in Symfony 4.4. In previous versions there was only one interface
236-
called ``Symfony\Component\Lock\StoreInterface``.
237-
238227
.. _lock-store-flock:
239228

240229
FlockStore

components/messenger.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,6 @@ do is to write your own CSV receiver::
302302
}
303303
}
304304

305-
.. versionadded:: 4.3
306-
307-
In Symfony 4.3, the ``ReceiverInterface`` has changed its methods as shown
308-
in the example above. You may need to update your code if you used this
309-
interface in previous Symfony versions.
310-
311305
Receiver and Sender on the same Bus
312306
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313307

components/property_info.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,6 @@ return and scalar types for PHP 7::
375375
// Initializable information
376376
$reflectionExtractor->isInitializable($class, $property);
377377

378-
.. versionadded:: 4.1
379-
380-
The feature to extract the property types from constructor arguments was
381-
introduced in Symfony 4.1.
382-
383378
.. note::
384379

385380
When using the Symfony framework, this service is automatically registered

components/var_dumper.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,6 @@ option. Read more about this and other options in
227227
If you want to use your browser search input, press ``Ctrl. + F`` or
228228
``Cmd. + F`` again while having focus on VarDumper's search input.
229229

230-
.. versionadded:: 4.4
231-
232-
The feature to use the browser search input was introduced in Symfony 4.4.
233-
234230
Using the VarDumper Component in your PHPUnit Test Suite
235231
--------------------------------------------------------
236232

event_dispatcher.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ The most common way to listen to an event is to register an **event listener**::
6767
Check out the :doc:`Symfony events reference </reference/events>` to see
6868
what type of object each event provides.
6969

70-
.. versionadded:: 4.3
71-
72-
The :class:`Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent` class was
73-
introduced in Symfony 4.3. In previous versions it was called
74-
``Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent``.
75-
7670
Now that the class is created, you need to register it as a service and
7771
notify Symfony that it is a "listener" on the ``kernel.exception`` event by
7872
using a special "tag":

form/data_transformers.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,6 @@ end-user error message in the data transformer using the
326326
}
327327
}
328328

329-
.. versionadded:: 4.3
330-
331-
The ``setInvalidMessage()`` method was introduced in Symfony 4.3.
332-
333329
That's it! If you're using the
334330
:ref:`default services.yaml configuration <service-container-services-load-example>`,
335331
Symfony will automatically know to pass your ``TaskType`` an instance of the

messenger.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,10 +895,6 @@ stream_max_entries The maximum number of entries which ``0`` (which means "n
895895
avoid losing pending messages
896896
================== ===================================== =========================
897897

898-
.. versionadded:: 4.4
899-
900-
The ``stream_max_entries`` option was introduced in Symfony 4.4.
901-
902898
In Memory Transport
903899
~~~~~~~~~~~~~~~~~~~
904900

0 commit comments

Comments
 (0)