Add PHPStan level 7
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3552897. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !962
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>For 2.0 we shoud up the PHPStan level to 7.</p>
<p>To make this smooth, we want to turn off the requirement for passing PHPStan for now, but add it in before the 2.0 is released.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Set PHPStan level to 7.<br>
Turn off requirement to pass PHPStan for now.</p>
issue