PHPStan: stop ignoring invalid @covers annotations
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3533845. --> Reported by: [larowlan](https://www.drupal.org/user/395439) Related to !640 >>> <h3 id="overview">Overview</h3> <p>With <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/experience_builder/issues/3492722" title="Status: Closed (fixed)">#3492722: Update XB to require Drupal 11.2</a></span> we will move to phpstan 2<br> This includes more strict checking of phpunit coverage.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Remove these two from phpstan.neon</p> <pre>&nbsp;&nbsp;&nbsp; - identifier: phpunit.coversMethod<br>&nbsp;&nbsp;&nbsp; - identifier: .covers</pre><p> Fix the errors</p> <h3 id="ui-changes">User interface changes</h3>
issue