Fix phpcs test (address PHP 8.4 deprecations) and require it to pass
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3461125. --> Reported by: [ptmkenny](https://www.drupal.org/user/97885) Related to !18 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Coding standards were addressed in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/jsonapi_resources/-/work_items/3339626" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/jsonapi_resources/-/work_items/3339626</a></span>. However, a later commit introduced an issue:</p> <pre>FILE: ...pi_resources/src/Unstable/Controller/ArgumentResolver/DocumentResolver.php<br>--------------------------------------------------------------------------------<br>FOUND 2 ERRORS AFFECTING 2 LINES<br>--------------------------------------------------------------------------------<br> 37 | ERROR | [x] Data types in @param tags need to be fully namespaced<br>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; (Drupal.Commenting.DataTypeNamespace.DataTypeNamespace)<br> 39 | ERROR | [x] Data types in @param tags need to be fully namespaced<br>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; (Drupal.Commenting.DataTypeNamespace.DataTypeNamespace)<br>--------------------------------------------------------------------------------</pre><p>Let's fix this and require phpcs to pass so that future MRs don't deviate from the coding standards.</p>
issue