Skip to content

Commit 6cd7ae5

Browse files
authored
Merge pull request #214 from froschdesign/hotfix/docs/wrong-deprecations
Removes outdated deprecation messages from documentation for attributes and annotations
2 parents 3c32741 + 75f1ec8 commit 6cd7ae5

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

Diff for: docs/book/v3/form-creation/attributes-or-annotations.md

+3-13
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,10 @@ Annotation names will be resolved according to the import statements in your
8181
class; as such, you can make them as long or as short as you want depending on
8282
what you import.
8383

84-
> ### Installation Requirements
84+
> MISSING: **Installation Requirements**
8585
>
86-
> DocBlock annotations require
87-
> [Doctrine's annotation parser `doctrine\annotations`](https://www.doctrine-project.org/projects/annotations.html)
88-
> as a peer dependency, which contains an annotation parsing engine. You need to
89-
> manually install it using Composer:
86+
> DocBlock annotations require [Doctrine's annotation parser `doctrine\annotations`](https://www.doctrine-project.org/projects/annotations.html) as a peer dependency, which contains an annotation parsing engine.
87+
> You need to manually install it using Composer:
9088
>
9189
> ```bash
9290
> $ composer require doctrine/annotations
@@ -143,10 +141,6 @@ filter with the appropriate inputs, and all elements.
143141

144142
### AllowEmpty
145143

146-
> ### Deprecated
147-
>
148-
> This annotation is deprecated, please add a `NotEmpty` validator instead.
149-
150144
Marks an input as allowing an empty value. This annotation does not require a value.
151145

152146
```php
@@ -181,10 +175,6 @@ protected $myProperty;
181175

182176
### ContinueIfEmpty
183177

184-
> ### Deprecated
185-
>
186-
> This annotation is deprecated, please add a `NotEmpty` validator instead.
187-
188178
Indicate whether the element can be submitted when it is empty. A boolean
189179
value is expected, defaulting to `true`. If `@Required` is set to `false`,
190180
`@ContinueIfEmpty(true)` or simply `@ContinueIfEmpty()`needs to be specified

0 commit comments

Comments
 (0)