Skip to content

Commit 7c50428

Browse files
committed
Remove unneeded versionadded directives
1 parent db31ccf commit 7c50428

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

http_client.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,11 +1783,6 @@ assertions on the request before returning the mocked response::
17831783

17841784
// ...
17851785

1786-
.. versionadded:: 5.1
1787-
1788-
Passing a list of callbacks to the ``MockHttpClient`` was introduced
1789-
in Symfony 5.1.
1790-
17911786
.. tip::
17921787

17931788
Instead of using the first argument, you can also set the (list of)

reference/constraints/Cascade.rst

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
Cascade
22
=======
33

4-
.. versionadded:: 5.2
5-
6-
The :class:`Symfony\\Component\\Validator\\Constraints\\Cascade` was
7-
introduced in Symfony 5.2 and requires PHP 7.4.
8-
94
The Cascade constraint is used to validate a whole class, including all the
105
objects that might be stored in its properties. Thanks to this constraint,
116
you don't need to add the :doc:`/reference/constraints/Valid` constraint on
@@ -27,32 +22,6 @@ constraints that are set in the child classes ``BookMetadata`` and
2722

2823
.. configuration-block::
2924

30-
.. code-block:: php-annotations
31-
32-
// src/Model/BookCollection.php
33-
namespace App\Model;
34-
35-
use App\Model\Author;
36-
use App\Model\BookMetadata;
37-
use Symfony\Component\Validator\Constraints as Assert;
38-
39-
/**
40-
* @Assert\Cascade
41-
*/
42-
class BookCollection
43-
{
44-
/**
45-
* @Assert\NotBlank
46-
*/
47-
protected $name = '';
48-
49-
public BookMetadata $metadata;
50-
51-
public Author $author;
52-
53-
// ...
54-
}
55-
5625
.. code-block:: php-attributes
5726
5827
// src/Model/BookCollection.php

0 commit comments

Comments
 (0)