Problem/Motivation
mglaman/phpstan-drupal released version 1.2.12 (See https://github.com/mglaman/phpstan-drupal/releases/tag/1.2.12).
Looks like it became "even more betterer", since we can drop four suppressions.
Steps to reproduce
See https://git.drupalcode.org/project/drupal/-/jobs/2387856 and notice the PHP Static Analysis (phpstan) failures on the DEFAULT: Updated dependencies (PHP 8.3 MySQL 8) job for 11.x.
Proposed resolution
- Upgrade phpstan/phpstan and mglaman/phpstan-drupal to 1.2.12
- Bump versions of phpstan/phpstan and mglaman/phpstan-drupal in composer.* to latest, since the newly created baseline won't pass on any lower version.
- Create a new baseline.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3467098
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
spokjeComment #4
spokjeComment #6
spokjeComment #7
spokjeComment #8
smustgrave commentedDidn’t seem to break anything
Don’t see a reason why not
Comment #10
catchCommitted/pushed to 11.x, thanks!
Doesn't cherry-pick to 11.0.x but I think that's probably OK. We can update 10.4.x if-and-when we next do a general composer update probably.