Problem/Motivation

This problem is present in the module.

FILE: ...org/no_autocomplete/src/Form/NoAutoCompleteAdminSettingsForm.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 50 | WARNING | \Drupal calls should be avoided in classes, use
    |         | dependency injection instead

Proposed resolution

Correctly inject inside the class the config.factory service.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

adriancid created an issue. See original summary.

  • adriancid committed 15b25ed on 8.x-1.x
    Issue #2927940 by adriancid: \Drupal calls should be avoided in classes...
adriancid’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.