Skip to content

Commit 0cf4033

Browse files
committed
remove obsolete versionadded directives
1 parent 9c537a7 commit 0cf4033

File tree

10 files changed

+0
-54
lines changed

10 files changed

+0
-54
lines changed

best_practices/configuration.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,6 @@ through environment variables:
208208
# ...
209209
password: "%env(DB_PASSWORD)%"
210210
211-
.. versionadded:: 3.2
212-
213-
Support for runtime environment variables via the ``%env(...)%`` syntax
214-
was added in Symfony 3.2. Prior to version 3.2, you needed to use the
215-
:doc:`special SYMFONY__ variables </configuration/external_parameters>`.
216-
217211
----
218212

219213
Next: :doc:`/best_practices/business-logic`

components/console/helpers/questionhelper.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,6 @@ convenient for passwords::
230230
// ...
231231
}
232232

233-
.. versionadded:: 3.3
234-
235-
The ``QuestionHelper::disableStty()`` method was introduced in Symfony 3.3.
236-
237233
Normalizing the Answer
238234
----------------------
239235

@@ -370,10 +366,6 @@ from the command line, you need to set the inputs that the command expects::
370366
// $this->assertRegExp('/.../', $commandTester->getDisplay());
371367
}
372368

373-
.. versionadded:: 3.2
374-
375-
The ``CommandTester::setInputs()`` method was introduced in Symfony 3.2.
376-
377369
By calling :method:`Symfony\\Component\\Console\\Tester\\CommandTester::setInputs`,
378370
you imitate what the console would do internally with all user input through the CLI.
379371
This method takes an array as only argument with, for each input that the command expects,

console/lockable_trait.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
Prevent Multiple Executions of a Console Command
22
================================================
33

4-
.. versionadded:: 3.2
5-
6-
The ``LockableTrait`` was introduced in Symfony 3.2.
7-
84
A simple but effective way to prevent multiple executions of the same command in
95
a single server is to use `locks`_. The :doc:`Lock component </components/lock>`
106
provides multiple classes to create locks based on the filesystem (:ref:`FlockStore <lock-store-flock>`),

quick_tour/the_controller.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,6 @@ And you can display the flash message in the template like this:
333333
</div>
334334
{% endfor %}
335335

336-
.. versionadded:: 3.3
337-
338-
The ``app.flashes()`` Twig function was introduced in Symfony 3.3. Prior,
339-
you had to use ``app.session.flashBag()``.
340-
341336
Final Thoughts
342337
--------------
343338

reference/constraints/UniqueEntity.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,6 @@ fields configured in the ``fields`` option). The method should return a
181181
entityClass
182182
~~~~~~~~~~~
183183

184-
.. versionadded:: 3.2
185-
186-
The ``entityClass`` option was introduced in Symfony 3.2.
187-
188184
**type**: ``string``
189185

190186
By default, the query performed to ensure the uniqueness uses the repository of

reference/forms/types/choice.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,6 @@ The ``choice_loader`` can be used to only partially load the choices in cases wh
192192
a fully-loaded list is not necessary. This is only needed in advanced cases and
193193
would replace the ``choices`` option.
194194

195-
.. versionadded:: 3.2
196-
197-
The :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\CallbackChoiceLoader`
198-
was introduced in Symfony 3.2.
199-
200195
You can use an instance of :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\CallbackChoiceLoader`
201196
if you want to take advantage of lazy loading::
202197

reference/forms/types/dateinterval.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
DateIntervalType Field
55
======================
66

7-
.. versionadded:: 3.2
8-
9-
The DateIntervalType field type was introduced in Symfony 3.2.
10-
117
This field allows the user to select an *interval* of time. For example, if you want to
128
allow the user to choose *how often* they receive a status email, they could use this
139
field to choose intervals like every "10 minutes" or "3 days".
@@ -132,10 +128,6 @@ this format.
132128
labels
133129
~~~~~~
134130

135-
.. versionadded:: 3.3
136-
137-
The ``labels`` option was introduced in Symfony 3.3.
138-
139131
**type**: ``array`` **default**: (see below)
140132

141133
The labels displayed for each of the elements of this type. The default values

routing.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,6 @@ that are special: each adds a unique piece of functionality inside your applicat
484484
Used to set the fragment identifier, the optional last part of a URL that
485485
starts with a ``#`` character and is used to identify a portion of a document.
486486

487-
.. versionadded:: 3.2
488-
489-
The ``_fragment`` parameter was introduced in Symfony 3.2.
490-
491487
``_locale``
492488
Used to set the locale on the request (:ref:`read more <translation-locale-url>`).
493489

session/avoid_session_start.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,3 @@ access the flash messages:
3636
</div>
3737
{% endfor %}
3838
{% endif %}
39-
40-
.. versionadded:: 3.3
41-
42-
The ``app.flashes()`` Twig function was introduced in Symfony 3.3. Prior,
43-
you had to use ``app.session.flashBag()``.

validation/sequence_provider.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,6 @@ method, which should return an array of groups to use::
296296
}
297297
}
298298

299-
.. versionadded:: 3.2
300-
301-
The feature to return a nested array to get violations from all groups was
302-
introduced in Symfony 3.2.
303-
304299
At last, you have to notify the Validator component that your ``User`` class
305300
provides a sequence of groups to be validated:
306301

0 commit comments

Comments
 (0)