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

dev: Extract a ConstraintErrorsFormatter from BaseController #395

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

marien-probesys
Copy link
Member

@marien-probesys marien-probesys commented Aug 3, 2023

Related issue(s)

N/A

Changes

  • change the BaseController::formatErrors method into a static method in the ConstraintErrorsFormatter class

How to test manually

N/A

Checklist

  • code is manually tested
  • permissions / authorizations are verified
  • interface works on both mobiles and big screens
  • accessibility has been tested
  • tests are up-to-date
  • locales are synchronized
  • copyright notices are up-to-date
  • documentation is up-to-date (including migration notes)

This formatter is now reusable outside of controllers, making it more
useful!
@marien-probesys marien-probesys merged commit cc94181 into main Aug 3, 2023
@marien-probesys marien-probesys deleted the tec/constraint-errors-formatter branch August 3, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant