Issue #3594126: Support stymiee/email-validator 2.x

  • composer.json: require stymiee/email-validator ^2.1.0.
  • The 2.x library adds an always-on RFC 5322 validation step. Surface it like the existing basic check: not a toggleable rule, but with its own configurable, translatable error message (FAIL_RFC5322 -> error_messages.rfc5322).
  • Add the rfc5322 error message to config schema, install defaults, the settings form and the webform handler form; update_10103 seeds an editable default for existing sites.
  • Document the new FAIL_CUSTOM (6) and FAIL_RFC5322 (7) codes on the service interface.
  • Tests: cover RFC 5322 always being applied and its error-message mapping; add a Functional test asserting every check's error-message field renders on the settings form; add #[RunTestsInSeparateProcesses] to the Functional tests.

The @Constraint annotations are left as-is: the #[Constraint] attribute requires core 10.2+, and the module still supports ^10.

Closes #3594126

Merge request reports

Loading