Problem/Motivation
In #3172382: Running "drush upgrade_status:analyze" leads to reflection errors, add conflict to new phpstan versions for now this ^0.12.43 conflict was added as a temporary solution and released with 3.0-beta2. (2020-10-09)
Then on the same day the same temporary solution was shipped with mglaman/phpstan-drupal 0.12.6. Unfortunately the conflict was not removed from drupal/upgrade_status before releasing 3.0.0.
Yesterday nikic/php-parser released a bug fix, then phpstan/phpstan upped its requirements and today 0.12.64 was released and so was mglaman/phpstan-drupal:0.12.7.
mglaman/phpstan-drupal decided to just up the phpstan/phpstan version requirement.
So now drupal/upgrade_status should remove the conflict so that we can again enjoy bug fixes and new features of phpstan/phpstan.
Steps to reproduce
Proposed resolution
drupal/upgrade_status could simply remove the conflict. Or change the phpstan/phpstan conflict to a nikic/php-parser conflict. Or up either the nikic/php-parser version requirement or the mglaman/phpstan-drupal version requirement while removing the phpstan/phpstan conflict.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork upgrade_status-3189376
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
eric_a commentedComment #3
eric_a commentedComment #4
eric_a commentedComment #7
mglamanMR opened
Comment #8
eric_a commented@mglaman, thanks for doing the merge request! Removing the conflict and requiring mglaman/phpstan-drupal:^0.12.7 instead of ^0.12.0 (released with upgrade_status 3.1) would certainly work for me too.
Comment #9
mglaman@Eric_A both changes are required to make sure phpstan-drupal is upgraded, which forces phpstan to upgrade. Otherwise, someone might do something weird and get into an odd install state. How? I have no idea, but I wouldn't leave it to chance 🙂
Comment #10
gábor hojtsyComment #11
gábor hojtsyComment #13
gábor hojtsySuperb, thanks!
Comment #14
gábor hojtsyMade https://www.drupal.org/project/upgrade_status/releases/8.x-3.1 available, thank @mglaman!