Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes outdated deprecation messages from documentation for attributes and annotations #214

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions docs/book/v3/form-creation/attributes-or-annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ Annotation names will be resolved according to the import statements in your
class; as such, you can make them as long or as short as you want depending on
what you import.

> ### Installation Requirements
> MISSING: **Installation Requirements**
>
> 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. You need to
> manually install it using Composer:
> 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.
> You need to manually install it using Composer:
>
> ```bash
> $ composer require doctrine/annotations
Expand Down Expand Up @@ -143,10 +141,6 @@ filter with the appropriate inputs, and all elements.

### AllowEmpty

> ### Deprecated
>
> This annotation is deprecated, please add a `NotEmpty` validator instead.

Marks an input as allowing an empty value. This annotation does not require a value.

```php
Expand Down Expand Up @@ -181,10 +175,6 @@ protected $myProperty;

### ContinueIfEmpty

> ### Deprecated
>
> This annotation is deprecated, please add a `NotEmpty` validator instead.

Indicate whether the element can be submitted when it is empty. A boolean
value is expected, defaulting to `true`. If `@Required` is set to `false`,
`@ContinueIfEmpty(true)` or simply `@ContinueIfEmpty()`needs to be specified
Expand Down