Fix CI, adapt to PHPStan v2
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3537496. -->
Reported by: [dpi](https://www.drupal.org/user/81431)
Related to !59
>>>
<ul>
<li>Since Drupal 11.0 is no longer supported. Make 11.1 minimum. 11.1 itself is supported for only a few months longer.</li>
<li>PHPStan baseline needs to be regenerated</li>
<li>Update deps of PHPStan to allow PHPStan v2 to be installed</li>
<li>Only the latest branch needs a working PHPStan install.</li>
<li>Once deprecation has been made evident, deprecated in 11.2 for removal in 12<br>
<blockquote><p> 370 Call to deprecated function views_entity_field_label():<br>
in drupal:11.2.0 and is removed from drupal:12.0.0. Use<br>
\Drupal::service('entity_field.manager')->getFieldLabels() instead.<br>
🪪 function.deprecated</p></blockquote>
</li>
</ul>
issue