In the Rules integration there are several examples of required parameters following optional parameters in function declaration. This is deprecated in PHP 8.0. Now that Drupal core supports PHP 8.0, and now that both Entity API and Rules have releases that are compatible with PHP 8.0, we can begin to deal with these issues in Mime Mail.

These instances of required parameters following optional parameters can easily be fixed by removing the default values for parameters that are before parameters that do not have defaults.

CommentFileSizeAuthor
#2 3252691-2-required-parameters.patch1.61 KBtr

Comments

TR created an issue. See original summary.

tr’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.61 KB
tr’s picture

Issue summary: View changes

  • TR committed cfb3b11 on 7.x-1.x
    Issue #3252691 by TR: PHP 8.0: Required parameters following optional...
tr’s picture

Status: Needs review » Fixed

Committed #2.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.