Problem/Motivation
mglaman/phpstan-drupal released version 1.2.10 which allows services.yml to contain custom tags (https://github.com/mglaman/phpstan-drupal/pull/743).
Let's update to this version to allow MRs like in #3432595: Use a tagged service iterator for uninstall validators instead of individual lazy proxies to pass and be thoroughly tested.
Steps to reproduce
Proposed resolution
- $ composer update phpstan/phpstan mglaman/phpstan-drupal -W
- $ vendor/bin/phpstan analyze --configuration=core/phpstan.neon.dist --generate-baseline core/.phpstan-baseline.php
- Bump version of mglaman/phpstan-drupal in composer.* to latest, since it fixes a PHPStan crash over in #3432595: Use a tagged service iterator for uninstall validators instead of individual lazy proxies.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3437778
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:
- 3437778-bump-phpstanphpstan-and
changes, plain diff MR !7297
Comments
Comment #3
spokjeComment #4
spokjeNote: Creating a new PHPStan-baseline exposed some formatting differences between the generated and committed-in-HEAD one.
Let's use this issue to reconcile these.
As a side note: If people are manually editing the baseline, let's make the GitLab job fail on these differences, so we don't need this kind of reconciliation.
Comment #5
longwaveLet's bump the minimum version of
mglaman/phpstan-drupalhere, because it fixes a PHPStan crash over in #3432595: Use a tagged service iterator for uninstall validators instead of individual lazy proxiesComment #6
spokjeAh crap, of course, forgot that in my "rage" about the baseline formatting.
Comment #7
longwaveThanks!
Comment #8
alexpottCommitted 8fe4fb0 and pushed to 11.x. Thanks!
Committed 1e955e9 and pushed to 10.3.x. Thanks!
I fixed the composer.lock conflicts and backported to 10.3.x