Easiest way to detect/remove unused `use` statements from PHP codebase
<p>I've searched all over for something like this but I believe the word "use" is perhaps too common for any helpful results:</p>

<p>What is the easiest way to remove all un-used <code>use</code> statements from class files in a PHP codebase?</p>

<p><strong>Edit:</strong> For the sake of simplicity, we can ignore detecting <code>use</code> statements that are used for annotations.</p>
