Skip to content

Conversation

@alexandre-daubois
Copy link
Member

After this one being merged symfony/symfony#49829, I think the coding standards about exception can be improved a bit 👍

@carsonbot carsonbot added this to the 5.4 milestone Mar 28, 2023
technical element (such as a method name for example). Double quotes must be used
at all time;

* Exception and error messages must start with a capital letter and finish with a dot ``.``;
Copy link
Contributor

Choose a reason for hiding this comment

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

should this also be defined for deprecation messages?

@javiereguiluz
Copy link
Member

Thanks Alex! While merging, I did some minor tweak to add an example (336996e4481ce49c5b529c5b708b5cbc444bb750). I hope the backtick escaping works as intended. We'll see when the docs are regenerated in a few hours. Thanks!

@alexandre-daubois alexandre-daubois deleted the exception-error-messages-improvments branch March 29, 2023 07:45
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