Drupal 9 Deprecated Code Report
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3113123. -->
Reported by: [kbrodej](https://www.drupal.org/user/3629916)
>>>
<pre> Line src/Form/DeleteMultiple.php<br> ------ --------------------------------------------------------------------------------------------------<br> 47 Parameter $manager of method Drupal\message\Form\DeleteMultiple::__construct() has typehint with<br> deprecated interface Drupal\Core\Entity\EntityManagerInterface:<br> in drupal:8.0.0 and is removed from drupal:9.0.0.<br> ------ --------------------------------------------------------------------------------------------------<br><br> ------ ---------------------------------------------------------------------------------------------------------<br> Line src/Form/MessageSettingsForm.php<br> ------ ---------------------------------------------------------------------------------------------------------<br> 78 Parameter $entity_manager of method Drupal\message\Form\MessageSettingsForm::__construct() has typehint<br> with deprecated interface Drupal\Core\Entity\EntityManagerInterface:<br> in drupal:8.0.0 and is removed from drupal:9.0.0.<br> ------ ---------------------------------------------------------------------------------------------------------<br><br> ------ ------------------------------------------------------------------------------------------------------------<br> Line tests/src/Functional/MessageCron.php<br> ------ ------------------------------------------------------------------------------------------------------------<br> 102 Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use<br> \Drupal::time()->getRequestTime();<br> 109 Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use<br> \Drupal::time()->getRequestTime();<br> 116 Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use<br> \Drupal::time()->getRequestTime();<br> ------ ------------------------------------------------------------------------------------------------------------<br><br> ------ ------------------------------------------------------------------------------------------------------------<br> Line tests/src/Kernel/Plugin/MessagePurge/DaysTest.php<br> ------ ------------------------------------------------------------------------------------------------------------<br> 82 Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use<br> \Drupal::time()->getRequestTime();<br> 99 Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use<br> \Drupal::time()->getRequestTime();<br> ------ ------------------------------------------------------------------------------------------------------------<br><br><br> [ERROR] Found 7 errors</pre>
issue