Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables

File /core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php

Line 56: Unused local variable $message
Line 74: Unused local variable $message

#1 drupal-core-remove-unused-local-variable-2080337.patch1.32 KBmrsinguyen
PASSED: [[SimpleTest]]: [MySQL] 58,449 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


mrsinguyen’s picture

Status: Active » Needs review
1.32 KB
PASSED: [[SimpleTest]]: [MySQL] 58,449 pass(es). View
lorique’s picture

Status: Needs review » Reviewed & tested by the community

This looks fine. Both variables unused and safely removed from the code.

Thank you for your patch @mrsinguyen

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

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