drupal-check -ad web/modules/contrib/template_generator/
2/2 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------------------------
Line src/Form/GenerateTemplateForm.php
------ ------------------------------------------------------------------------------
25 \Drupal calls should be avoided in classes, use dependency injection instead
95 \Drupal calls should be avoided in classes, use dependency injection instead
97 \Drupal calls should be avoided in classes, use dependency injection instead
110 \Drupal calls should be avoided in classes, use dependency injection instead
111 \Drupal calls should be avoided in classes, use dependency injection instead
118 \Drupal calls should be avoided in classes, use dependency injection instead
144 \Drupal calls should be avoided in classes, use dependency injection instead
167 \Drupal calls should be avoided in classes, use dependency injection instead
167 \Drupal calls should be avoided in classes, use dependency injection instead
209 \Drupal calls should be avoided in classes, use dependency injection instead
253 \Drupal calls should be avoided in classes, use dependency injection instead
262 \Drupal calls should be avoided in classes, use dependency injection instead
274 Cannot use [] for reading.
------ ------------------------------------------------------------------------------
[ERROR] Found 13 errors
Comments
Comment #2
shaktikComment #3
fabsgugu commentedHello,
I just saw the attribution I was already on the subject, I just finished. Do you still want to take up the subject or can I push ?
Edit : I push my code in another branch. https://git.drupalcode.org/project/template_generator/-/commit/8cdd90a77...
Comment #4
shaktiksure @Fabsgugu
Comment #6
shaktikfixed Issue #3122015 no error found.
Comment #7
shaktikComment #8
fabsgugu commented