phpcs: Organize PHP imports alphabetically to reduce merge conflict frequency
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3588837. -->
Reported by: [penyaskito](https://www.drupal.org/user/959536)
Related to !1132
>>>
<h3 id="overview">Overview</h3>
<p><a href="https://cs.symfony.com/doc/rules/import/ordered_imports.html">https://cs.symfony.com/doc/rules/import/ordered_imports.html</a></p>
<p>Most IDEs collapse this so it's not obvious, but can be a source of merge failures when updating an MR with upstream.</p>
<p>This is already done in our typescript: <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3544433" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3544433</a></span></p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Enable that rule in phpcs.</p>
<h3 id="ui-changes">User interface changes</h3>
<p>None.</p>
issue