Problem/Motivation
After updating to PHP 8.2, I got a deprecation notice:
Deprecated function: Creation of dynamic property Drupal\symfony_mailer\Email::$configFactory is deprecated in Drupal\symfony_mailer\Email->__construct() (line 183 of /var/www/html/web/modules/contrib/symfony_mailer/src/Email.php)
Let's make the module compatible with PHP 8.2.
Issue fork symfony_mailer-3337431
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:
- php_8.2
changes, plain diff MR !40
Comments
Comment #3
ptmkenny commentedI fixed the deprecation I found in the MR, but there may be others, so I'm going to set this to "needs work".
Comment #6
adamps commentedGreat thanks.
It seems worth getting this in now, so I've committed the fix you've already done. We can easily re-open the issue or create a new one if anyone discovers another problem.