title: Sort and indent PHP-Class-Attributes
body: <p>The problem: I want to upgrade my PHP code (<a href="https://api-platform.com/" rel="nofollow noreferrer">API-Plattform</a> Application with Doctrine) from 7.3 to 8.x. <a href="https://github.com/rectorphp/rector" rel="nofollow noreferrer">Rector</a> helps to convert PHP Annotations to PHP Attributes (all in one line). After that I want to sort and indent the class attributes from</p>
  <pre><code>#[ApiResource(attributes: ['normalization_context' =&gt; ['groups' =&gt; ['person:read', 'read'], 'circular_reference_limit' =&gt; 1, ...]
  </code></pre>
  <p>(single line) to</p>
  <pre><code>#[ApiResource(
      collectionOperations: [
          'get' =&gt; [
              'normalization_context' =&gt; [
                  'person:read',
                  'read',
              ],
              'circular_reference_limit' =&gt; 1,
              'enable_max_depth' =&gt; true, ...
  </code></pre>
  <p>(multi line).</p>
  <p>Are there any functionalities in PhpStorm, Rector or PHP-CS-Fixer to indent and order the attributes (class, class variables, etc.)?</p>
  <p>Thank you!</p>