3123224: Replace non-test usages of \Drupal::request() with IoC injection & fixed conflicts
2 unresolved threads
Closes #3123224
Merge request reports
Activity
added 1 commit
- 7abb5c9c - 3123224: Replace non-test usages of \Drupal::request() with IoC injection & fixed conflicts
added 1 commit
- f86c757b - 3123224: Replace non-test usages of \Drupal::request() with IoC injection & fixed conflicts
added 1 commit
- 6d1db655 - 3123224: Replace non-test usages of \Drupal::request() with IoC injection & fixed conflicts
70 49 * Cache backend instance to use. 71 50 * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler 72 51 * The module handler to invoke the alter hook with. 73 * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory 52 * @param \Drupal\Core\Config\ConfigFactoryInterface $configFactory 74 53 * The configuration factory. 75 * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory 54 * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerFactory 76 55 * The logger channel factory. 77 * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation Hi @smustgrave , i removed it because phpstan throwing an error for unused parameter.
Check this: https://git.drupalcode.org/issue/drupal-3123224/-/jobs/1823057
Thanks Samit K.
1473 1473 Drupal\Core\Flood\FloodInterface: '@flood' 1474 1474 plugin.manager.mail: 1475 1475 class: Drupal\Core\Mail\MailManager 1476 arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory', '@logger.factory', '@string_translation', '@renderer'] 1476 arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory', '@logger.factory', '@renderer', '@request_stack']
Please register or sign in to reply