phpstan-drupal icon indicating copy to clipboard operation
phpstan-drupal copied to clipboard

New rule for checking "static create()" method in controller

Open joshirohit100 opened this issue 9 months ago • 0 comments

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)

joshirohit100 avatar Apr 29 '24 10:04 joshirohit100