Skip to content

[Validator] Replace warning with caution for consistency #17816

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
Jan 27, 2023

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Jan 27, 2023

We had only one "warning" vs many "caution" blocks.

@fabpot fabpot requested a review from xabbuh as a code owner January 27, 2023 11:11
@carsonbot carsonbot added this to the 5.4 milestone Jan 27, 2023
@carsonbot carsonbot changed the title Replace warning with caution for consistency [Validator] Replace warning with caution for consistency Jan 27, 2023
@javiereguiluz
Copy link
Member

Thanks

@javiereguiluz javiereguiluz merged commit 8948f25 into symfony:5.4 Jan 27, 2023
@OskarStark
Copy link
Contributor

Should we enforce this for consistency via DOCtor?

We could create a configurable rule:

UseDirectiveOverDirective:
..warning => ..caution

cc @alamirault

@javiereguiluz
Copy link
Member

javiereguiluz commented Jan 28, 2023

I don't think we can automate this fix. I'd keep it to the doc writer to decide which admonition type to use. Thanks.

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