Problem/Motivation
@mglaman released version 1.1.34 of mglaman/phpstan-drupal (See https://github.com/mglaman/phpstan-drupal/releases/tag/1.1.34)
Looking at https://www.drupal.org/node/3060/qa it removes some false positives on Level 1.
Steps to reproduce
See https://www.drupal.org/node/3060/qa and notice the failures on both updated deps jobs for 10.0.x, 10.1.xand 11.x
Proposed resolution
- Upgrade mglaman/phpstan-drupal
- Create a new baseline (vendor/bin/phpstan analyze --configuration=core/phpstan.neon.dist --generate-baseline ./core/phpstan-baseline.neon)
- Bump version of mglaman/phpstan-drupal in composer.json to 1.1.34, since the newly created baseline won't pass on any version below that.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3362569
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:
- 3362569-update-mglamanphpstan-drupal-and
changes, plain diff MR !4043
Comments
Comment #3
spokjeComment #4
borisson_This change is very simple and does exactly what is in the IS. Looks great.
Comment #6
catchCommitted/pushed to 11.x and cherry-picked back to 10.1.x, thanks!