Will be good to have an option to auto remove unused use lines on file save event, to prevent phpcs errors like this:
use
phpcs
--------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 11 | WARNING | [x] Unused use statement --------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------------------------------------------------------
Hi Murz,
Thank you for the suggestion.
It appears there is already a configuration in VSCode we could use to support this
"[php]": { "editor.codeActionsOnSave": { "source.organizeImports": true } }
it's a good idea to support this