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 >>> <!-- &#128071;&#128071;&#128071;&#128071;&#128071;&#128071;&#128071;&#128071;&#128071;&#128071; --><!-- &#10071;&#65039; Delete the value in the "Parent issue" field --><!-- &#10071;&#65039; below and assign the issue to yourself. --><!-- &#10071;&#65039; (There's apparently no way to automate this.) --><!-- &#128070;&#128070;&#128070;&#128070;&#128070;&#128070;&#128070;&#128070;&#128070;&#128070; --><p>Our <code>phpcs-rules-match-drupal-11</code> CI job currently fails with the following error:</p> <pre>&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;&#128293;<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