src/Service/EmailAttachmentEvaluator.php uses a non-canonical (boolean) cast, which PHP 8.4 deprecates in favor of (bool). At line 324: return (boolean) preg_match($pattern, $string);

Under PHP 8.4 this emits the runtime notice "Non-canonical cast (boolean) is deprecated, use the (bool) cast instead". In a Drupal functional test the deprecation is escalated to an error, so any test whose flow evaluates an email attachment condition fails; we hit it when a workflow sends a confirmation email on payment settlement. Changing (boolean) to (bool) resolves it.

Issue fork easy_email-3611615

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review