Skip to content

[Validator] Removal code-block php-annotation #17468

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

Merged
merged 1 commit into from
Nov 26, 2022

Conversation

mdoutreluingne
Copy link
Contributor

Following #17223

@javiereguiluz
Copy link
Member

Thank you Maxime.

@javiereguiluz javiereguiluz merged commit 367bf3c into symfony:6.1 Nov 26, 2022
@mdoutreluingne mdoutreluingne deleted the remove_block_annotations branch November 26, 2022 12:45
@@ -38,54 +38,27 @@ use it as an annotation/attribute in other classes.

The ``#[HasNamedArguments]`` attribute was introduced in Symfony 6.1.

You can use ``#[HasNamedArguments]`` or ``getRequiredOptions()`` to make some constraint options required:
You can use ``#[HasNamedArguments]`` or ``getRequiredOptions()`` to make some constraint options required::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we really should mention this method any longer if we do not have an example for it anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you that this method is no longer used. Thanks
I have created a PR #17476

OskarStark added a commit that referenced this pull request Nov 30, 2022
…the example (mdoutreluingne)

This PR was merged into the 6.1 branch.

Discussion
----------

[Validator] `getRequiredOptions()` is no longer used in the example

Following #17468

I forgot to delete the method `getRequiredOptions()` as it is no longer used in the example and I have also removed the ``@Annotation`` because it was also no longer used in the example.

Commits
-------

858cabc [Validator] Remove annotation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants