Update PHPCS config to match Drupal 11
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3562067. -->
Reported by: [penyaskito](https://www.drupal.org/user/959536)
Related to !395
>>>
<!-- 👇👇👇👇👇👇👇👇👇👇 --><!-- ❗️ Delete the value in the "Parent issue" field --><!-- ❗️ below and assign the issue to yourself. --><!-- ❗️ (There's apparently no way to automate this.) --><!-- 👆👆👆👆👆👆👆👆👆👆 --><p>Our <code>phpcs-rules-match-drupal-11</code> CI job currently fails with the following error:</p>
<pre>🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥<br>Error: core.phpcs.xml.dist not up to date with Drupal 11.x core/phpcs.xml.dist. Please create an issue to update this file.</pre><p>This is that issue.</p>
<p>To automatically update the file, just run this script from the module repository root:</p>
<p><code>sh scripts/update-phpcs-config.sh</code></p>
issue