Tests are currently failing due to newer phpcs rules
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3528406. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !653
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We have an upcoming 1.0.6 release and want the 1.0.x branch to not fail testing. This was fixed in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3527065" title="Status: Closed (fixed)">#3527065: Tests are currently failing due to newer phpcs rules</a></span>, but that includes code that does not exist in 1.0.x branch, so we create a new issue.</p>
<p>Baring security issues being found 1.0.6 is most likely the last version of the 1.0.x branch, so nothing needs to be pushed up to 1.1.x and on.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix errors</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue