Ordering Use, Import, Alias, Require?

Folks who would like a more aggressive tool for this might want to look into Styler. It is opinionated and explicitly doesn’t promise that it’ll never break your code, but IME it usually doesn’t and I really do value the automated fix-ups.

As a simple example, sometimes I start writing a pipeline and then realize there’s only one function in it… If I save the file with auto-format enabled in my editor, Styler will automatically un-pipeline the call.