PHPStan: Test methods should never have optional parameters from a data provider
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3585319. -->
Reported by: [penyaskito](https://www.drupal.org/user/959536)
Related to !931
>>>
<h3 id="overview">Overview</h3>
<p>PHPStan: Test methods should never have optional parameters from a data provider.<br>
This is a big smell that have caused bugs in test coverage in the past.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Create phpstan rule.</p>
<h3 id="ui-changes">User interface changes</h3>
<p>None.</p>
issue