Problem/Motivation

With the latest 1.9.17 release of phpstan/phpstan and the latest 1.1.29 release of mglaman/phpstan-drupal we see our "updated deps" test-runs fail on both 10.0.x and 10.1.x

Steps to reproduce

https://www.drupal.org/node/3060/qa

Proposed resolution

Bump phpstan/phpstan and mglaman/phpstan-drupal to their latest version (including upping the version constraint in composer.json) AND refresh the baseline at the same time.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#8 3341254-nr-bot.txt90 bytesneeds-review-queue-bot

Issue fork drupal-3341254

Command icon 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

Spokje created an issue. See original summary.

spokje’s picture

Title: Fix failing "updated deps" test-runs by upping phpstan/phpstan to latest » Fix failing "updated deps" test-runs on 10.x.x
Issue summary: View changes

spokje’s picture

Version: 10.1.x-dev » 10.0.x-dev

spokje’s picture

Assigned: spokje » Unassigned
Status: Active » Needs review

MR !3459 => 10.0.x
MR !3456 => 10.1.x

spokje’s picture

Issue summary: View changes
needs-review-queue-bot’s picture

Status: Needs review » Needs work
StatusFileSize
new90 bytes

The Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".

Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

spokje’s picture

Status: Needs work » Needs review
Issue tags: +no-needs-review-bot

needs-review-queue-bot has problems with issue spanning over more than one branch.

Telling it to ignore this issue with a friendly get-lost!!! no-needs-review-bot tag

mondrake’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me - probably needs a reroll for the composer lock hash though.

spokje’s picture

Thanks @mondrake, checking for the need of rerolls now.

spokje’s picture

Currently both MRs for 10.0.x and 10.1.x are passing

catch’s picture

Status: Reviewed & tested by the community » Needs work

Needs a rebase.

mondrake’s picture

Needs a rebase again, and in the meantime PHPStan is at 1.10.1

longwave made their first commit to this issue’s fork.

longwave’s picture

Status: Needs work » Needs review

Rebased and updated PHPStan in both branches, didn't regenerate the baseline but will see what failures come out.

longwave’s picture

Pushed baseline updates and a fix to ReverseContainer for both branches.

mallezie’s picture

Status: Needs review » Reviewed & tested by the community

This looks perfect! Only removal of things, without changing code, thus only removal of false positives.

catch’s picture

Status: Reviewed & tested by the community » Needs work

Sorry all, this already needs another rebase - committed some other baseline fixes in a different issue this morning :/

If someone pings me after the next rebase I'll insta-commit.

longwave’s picture

Status: Needs work » Reviewed & tested by the community

Rebased and pushed both branches again.

  • catch committed 7cf8cec6 on 10.1.x
    Issue #3341254 by Spokje, longwave: Fix failing "updated deps" test-runs...

  • catch committed 843e0a80 on 10.0.x
    Issue #3341254 by Spokje, longwave: Fix failing "updated deps" test-runs...
catch’s picture

Status: Reviewed & tested by the community » Fixed

OK this time! Committed/pushed to 10.1.x and 10.0.x respectively, thanks!

longwave’s picture

Issue tags: +10.1.0 release notes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.