Drupal 10.2 update #1639
reviewdog [drupal-coder (drupal practice)] report
reported by reviewdog 🐶
Findings (6)
src/Installer/Form/ModuleConfigureForm.php|42 col 17| \Drupal calls should be avoided in classes, use dependency injection instead
src/Installer/Form/ModuleConfigureForm.php|103 col 14| \Drupal calls should be avoided in classes, use dependency injection instead
src/Installer/Form/ModuleConfigureForm.php|103 col 64| \Drupal calls should be avoided in classes, use dependency injection instead
src/Installer/Form/ModuleConfigureForm.php|118 col 79| \Drupal calls should be avoided in classes, use dependency injection instead
src/Installer/Form/ModuleConfigureForm.php|136 col 16| \Drupal calls should be avoided in classes, use dependency injection instead
src/Installer/Form/ModuleConfigureForm.php|172 col 21| \Drupal calls should be avoided in classes, use dependency injection instead
Filtered Findings (0)
Annotations
Check warning on line 42 in src/Installer/Form/ModuleConfigureForm.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] src/Installer/Form/ModuleConfigureForm.php#L42 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/src/Installer/Form/ModuleConfigureForm.php:42:17: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
Check warning on line 103 in src/Installer/Form/ModuleConfigureForm.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] src/Installer/Form/ModuleConfigureForm.php#L103 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/src/Installer/Form/ModuleConfigureForm.php:103:14: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
Check warning on line 103 in src/Installer/Form/ModuleConfigureForm.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] src/Installer/Form/ModuleConfigureForm.php#L103 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/src/Installer/Form/ModuleConfigureForm.php:103:64: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
Check warning on line 118 in src/Installer/Form/ModuleConfigureForm.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] src/Installer/Form/ModuleConfigureForm.php#L118 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/src/Installer/Form/ModuleConfigureForm.php:118:79: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
Check warning on line 136 in src/Installer/Form/ModuleConfigureForm.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] src/Installer/Form/ModuleConfigureForm.php#L136 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/src/Installer/Form/ModuleConfigureForm.php:136:16: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)
Check warning on line 172 in src/Installer/Form/ModuleConfigureForm.php
github-actions / drupal-coder (drupal practice)
[drupal-coder (drupal practice)] src/Installer/Form/ModuleConfigureForm.php#L172 <DrupalPractice.Objects.GlobalDrupal.GlobalDrupal>
\Drupal calls should be avoided in classes, use dependency injection instead
Raw output
/github/workspace/src/Installer/Form/ModuleConfigureForm.php:172:21: warning: \Drupal calls should be avoided in classes, use dependency injection instead (DrupalPractice.Objects.GlobalDrupal.GlobalDrupal)