This issue is a spin-off from #1794754-54: Convert ban_boot() to an event listener where it was asked

why +use Drupal\Core\Database\Database; in BanBundle.php ?

where the class was not used anywhere in the code. The purpose of this rule is to flag these excess 'use' statements.

Comments

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder 7.x is frozen now and will not receive updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.