Skip to content

Commit fc2d018

Browse files
Remove all 6.x versionadded on 7.0
1 parent 7f8c10d commit fc2d018

File tree

122 files changed

+8
-1506
lines changed

Some content is hidden

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

122 files changed

+8
-1506
lines changed

bundles.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ Start by creating a new class called ``AcmeTestBundle``::
5656
{
5757
}
5858

59-
.. versionadded:: 6.1
60-
61-
The :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` was
62-
introduced in Symfony 6.1.
63-
6459
.. caution::
6560

6661
If your bundle must be compatible with previous Symfony versions you have to

bundles/configuration.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ In your extension, you can load this and dynamically set its arguments::
320320
Using the AbstractBundle Class
321321
------------------------------
322322

323-
.. versionadded:: 6.1
324-
325-
The ``AbstractBundle`` class was introduced in Symfony 6.1.
326-
327323
As an alternative, instead of creating an extension and configuration class as
328324
shown in the previous section, you can also extend
329325
:class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` to add this

bundles/extension.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ To read more about it, see the ":doc:`/bundles/configuration`" article.
111111
Loading Services directly in your Bundle class
112112
----------------------------------------------
113113

114-
.. versionadded:: 6.1
115-
116-
The ``AbstractBundle`` class was introduced in Symfony 6.1.
117-
118114
Alternatively, you can define and load services configuration directly in a
119115
bundle class instead of creating a specific ``Extension`` class. You can do
120116
this by extending from :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle`

bundles/prepend_extension.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ registered and the ``entity_manager_name`` setting for ``acme_hello`` is set to
154154
Prepending Extension in the Bundle Class
155155
----------------------------------------
156156

157-
.. versionadded:: 6.1
158-
159-
The ``AbstractBundle`` class was introduced in Symfony 6.1.
160-
161157
You can also append or prepend extension configuration directly in your
162158
Bundle class if you extend from the :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle`
163159
class and define the :method:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle::prependExtension`

cache.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -745,20 +745,12 @@ Clear all cache pools:
745745
746746
$ php bin/console cache:pool:clear --all
747747
748-
.. versionadded:: 6.3
749-
750-
The ``--all`` option was introduced in Symfony 6.3.
751-
752748
Clear all cache pools except some:
753749

754750
.. code-block:: terminal
755751
756752
$ php bin/console cache:pool:clear --all --exclude=my_cache_pool --exclude=another_cache_pool
757753
758-
.. versionadded:: 6.4
759-
760-
The ``--exclude`` option was introduced in Symfony 6.4.
761-
762754
Clear all caches everywhere:
763755

764756
.. code-block:: terminal
@@ -767,10 +759,6 @@ Clear all caches everywhere:
767759
768760
Clear cache by tag(s):
769761

770-
.. versionadded:: 6.1
771-
772-
The ``cache:pool:invalidate-tags`` command was introduced in Symfony 6.1.
773-
774762
.. code-block:: terminal
775763
776764
# invalidate tag1 from all taggable pools

components/browser_kit.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ on a link::
130130
// ... and `clickLink()`
131131
$crawler = $client->clickLink('Go elsewhere...', ['X-Custom-Header' => 'Some data']);
132132

133-
.. versionadded:: 6.4
134-
135-
The ``serverParameters`` parameter was introduced in Symfony 6.4.
136-
137133
Submitting Forms
138134
~~~~~~~~~~~~~~~~
139135

@@ -403,10 +399,6 @@ to call ``json_decode()`` explicitly::
403399
$response = $browser->getResponse()->toArray();
404400
// $response is a PHP array of the decoded JSON contents
405401

406-
.. versionadded:: 6.1
407-
408-
The ``toArray()`` method was introduced in Symfony 6.1.
409-
410402
Learn more
411403
----------
412404

components/cache/adapters/redis_adapter.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ as the second and third parameters::
4141
$defaultLifetime = 0
4242
);
4343

44-
.. versionadded:: 6.3
45-
46-
Support for `Relay`_ was introduced in Symfony 6.3.
47-
4844
Configure the Connection
4945
------------------------
5046

@@ -163,10 +159,6 @@ array of ``key => value`` pairs representing option names and their respective v
163159
Available Options
164160
~~~~~~~~~~~~~~~~~
165161

166-
.. versionadded:: 6.3
167-
168-
``\Relay\Relay`` support was introduced in Symfony 6.3.
169-
170162
``class`` (type: ``string``, default: ``null``)
171163
Specifies the connection library to return, either ``\Redis``, ``\Relay\Relay`` or ``\Predis\Client``.
172164
If none is specified, fallback value is in following order, depending which one is available first:

components/clock.rst

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
The Clock Component
22
===================
33

4-
.. versionadded:: 6.2
5-
6-
The Clock component was introduced in Symfony 6.2
7-
84
The Clock component decouples applications from the system clock. This allows
95
you to fix time to improve testability of time-sensitive logic.
106

@@ -79,16 +75,6 @@ When using the Clock component, you manipulate
7975
:class:`Symfony\\Component\\Clock\\DatePoint` instances. You can learn more
8076
about it in :ref:`the dedicated section <clock_date-point>`.
8177

82-
.. versionadded:: 6.3
83-
84-
The :class:`Symfony\\Component\\Clock\\Clock` class and ``now()`` function
85-
were introduced in Symfony 6.3.
86-
87-
.. versionadded:: 6.4
88-
89-
The ``modifier`` argument of the ``now()`` function was introduced in
90-
Symfony 6.4.
91-
9278
Available Clocks Implementations
9379
--------------------------------
9480

@@ -208,10 +194,6 @@ you can set the current time arbitrarily without having to change your service c
208194
This will help you test every case of your method without the need of actually
209195
being in a month or another.
210196

211-
.. versionadded:: 6.3
212-
213-
The :class:`Symfony\\Component\\Clock\\ClockAwareTrait` was introduced in Symfony 6.3.
214-
215197
.. _clock_date-point:
216198

217199
The ``DatePoint`` Class
@@ -253,11 +235,6 @@ The constructor also allows setting a timezone or custom referenced date::
253235
error handling across versions of PHP, thanks to polyfilling `PHP 8.3's behavior`_
254236
on the topic.
255237

256-
.. versionadded:: 6.4
257-
258-
The :class:`Symfony\\Component\\Clock\\DatePoint` class was introduced
259-
in Symfony 6.4.
260-
261238
.. _clock_writing-tests:
262239

263240
Writing Time-Sensitive Tests
@@ -314,10 +291,6 @@ By combining the :class:`Symfony\\Component\\Clock\\ClockAwareTrait` and
314291
:class:`Symfony\\Component\\Clock\\Test\\ClockSensitiveTrait`, you have full
315292
control on your time-sensitive code's behavior.
316293

317-
.. versionadded:: 6.3
318-
319-
The :class:`Symfony\\Component\\Clock\\Test\\ClockSensitiveTrait` was introduced in Symfony 6.3.
320-
321294
Exceptions Management
322295
---------------------
323296

@@ -338,11 +311,6 @@ These exceptions are available starting from PHP 8.3. However, thanks to the
338311
`symfony/polyfill-php83`_ dependency required by the Clock component, you can
339312
use them even if your project doesn't use PHP 8.3 yet.
340313

341-
.. versionadded:: 6.4
342-
343-
The support for ``DateMalformedStringException`` and
344-
``DateInvalidTimeZoneException`` was introduced in Symfony 6.4.
345-
346314
.. _`PSR-20`: https://www.php-fig.org/psr/psr-20/
347315
.. _`accepted by the DateTime constructor`: https://www.php.net/manual/en/datetime.formats.php
348316
.. _`PHP DateTime exceptions`: https://wiki.php.net/rfc/datetime-exceptions

components/config/definition.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,6 @@ The configuration can now be written like this::
171171
->end()
172172
;
173173

174-
.. versionadded:: 6.3
175-
176-
The support of enum values in ``enumNode()`` was introduced
177-
in Symfony 6.3.
178-
179174
Array Nodes
180175
~~~~~~~~~~~
181176

components/console/events.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ Listeners receive a
156156
a signal. You can learn more about signals in the
157157
:ref:`the dedicated section <console-events_signal>`.
158158

159-
.. versionadded:: 6.4
160-
161-
Dispatching the ``ConsoleEvents::TERMINATE`` event on exit
162-
signal was introduced in Symfony 6.4.
163-
164159
.. _console-events_signal:
165160

166161
The ``ConsoleEvents::SIGNAL`` Event
@@ -207,11 +202,6 @@ method::
207202
$event->abortExit();
208203
});
209204

210-
.. versionadded:: 6.3
211-
212-
The ``setExitCode()``, ``getExitCode()`` and ``abortExit()`` methods were introduced
213-
in Symfony 6.3.
214-
215205
.. tip::
216206

217207
All the available signals (``SIGINT``, ``SIGQUIT``, etc.) are defined as
@@ -262,11 +252,6 @@ handle all signals e.g. to do some tasks before terminating the command.
262252
:method:`Symfony\\Component\\Console\\SignalRegistry\\SignalMap::getSignalName`
263253
method.
264254

265-
.. versionadded:: 6.4
266-
267-
The :class:`Symfony\\Component\\Console\\SignalRegistry\\SignalMap` class was
268-
introduced in Symfony 6.4.
269-
270255
.. _`reserved exit codes`: https://www.tldp.org/LDP/abs/html/exitcodes.html
271256
.. _`Signals`: https://en.wikipedia.org/wiki/Signal_(IPC)
272257
.. _`constants of the PCNTL PHP extension`: https://www.php.net/manual/en/pcntl.constants.php

0 commit comments

Comments
 (0)