phpstan-drupal
phpstan-drupal copied to clipboard
New rule for checking "static create()" method in controller
Controllers in Drupal-10.2.0 are auto-wired. Ref - https://www.drupal.org/node/3395716
To have a new rule to check this (its mostly DX)
(I know more general issue for different components - https://www.drupal.org/project/drupal/issues/3409787)