Problem/Motivation

Deprecated: Drupal\symfony_mailer_lite\Plugin\Mail\SymfonyMailer::__construct(): Implicitly marking parameter $cssOptimizer as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/symfony_mailer_lite/src/Plugin/Mail/SymfonyMailer.php on line 150

Deprecated: Drupal\easy_email\EasyEmailStorage::__construct(): Implicitly marking parameter $memory_cache as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/easy_email/src/EasyEmailStorage.php on line 61

Deprecated: Drupal\easy_email\EasyEmailStorage::__construct(): Implicitly marking parameter $entity_type_bundle_info as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/easy_email/src/EasyEmailStorage.php on line 61

Deprecated: Drupal\easy_email\EasyEmailStorage::__construct(): Implicitly marking parameter $entity_type_manager as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/easy_email/src/EasyEmailStorage.php on line 61

Deprecated: Drupal\easy_email\EasyEmailStorage::__construct(): Implicitly marking parameter $event_dispatcher as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/easy_email/src/EasyEmailStorage.php on line 61

Steps to reproduce

Install the module and visit the `admin/reports/status` page.

Proposed resolution

Add a nullable type hint to the constuctor call for the AssetOptimizerInterface class in the SymfonyMailer class.

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

jaydee1818 created an issue. See original summary.

jaydee1818’s picture

Version: 2.0.2 » 1.0.7

jaydee1818’s picture

Status: Active » Needs review

zengenuity made their first commit to this issue’s fork.

zengenuity’s picture

Version: 1.0.7 » 2.0.x-dev
Status: Needs review » Patch (to be ported)

  • zengenuity committed 88315b2d on 2.0.x
    Issue #3517573 by zengenuity, jaydee1818: SymfonyMailer.php triggers...
zengenuity’s picture

Status: Patch (to be ported) » Fixed

Thanks @jaydee1818. Merged.

Status: Fixed » Closed (fixed)

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