- Issue created by @prudloff
- 🇫🇷France prudloff Lille
Duplicate of 🐛 Use dependency Injection instead of Drupal call directly Needs review
phpstan is complaining about this: https://git.drupalcode.org/project/current_page_crumb/-/jobs/4546787
Using \Drupal:: to call services is a bad practice, dependency injection should be used instead.
The request_stack service should be injected in the constructor of BreadcrumbBuilder.
Active
1.0
Code
Duplicate of 🐛 Use dependency Injection instead of Drupal call directly Needs review