- Issue created by @BenStallings
phpstan reports:
------ ------------------------------------------------------------------------------
Line src/Plugin/QueueWorker/DelayedRequestDispatcher.php
------ ------------------------------------------------------------------------------
82 \Drupal calls should be avoided in classes, use dependency injection instead
82 \Drupal calls should be avoided in classes, use dependency injection instead
------ ------------------------------------------------------------------------------------ --------------------------------------------------------------------------------------------------------
Line tests/modules/email_confirmer_test/src/MailCollector.php
------ --------------------------------------------------------------------------------------------------------
23 Method Drupal\email_confirmer_test\MailCollector::doMail() should return array but return statement is
missing.
------ --------------------------------------------------------------------------------------------------------
phpstan analyse -l0 email_confirmer
Add the two dependencies to the existing create() pattern. In MailCollector::doMail, return an arry.
make an MR.
Active
1.0
Code