Missing annotation on hook_mail

Created on 7 May 2025, 10 days ago

Problem/Motivation

The module implements hook_mail as a new-style object oriented hook. However, it is missing PHP annotations to enable PHP 11 to fully utilise the implementation.

Steps to reproduce

N/A

Proposed resolution

This is a simple change that would suit a novice developer. It simply needs to add the PHP annotations to the relevant functions.

Remaining tasks

  • In the VerifyEmailHooks class, add #[Hook('mail')] above the mail function.
  • In the verify_email.module file, add #[LegacyHook] above the verify_email_mail function.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇪Ireland lostcarpark

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024