Problem/Motivation

With the 1.1.27 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 mglaman/phpstan-drupal to latest (including upping the version constraint in composer.json) AND refresh the baseline at the same time.

The accessCheck-related errors we're adding to the baseline here are being addressed in #3330981: Fix PHPStan L1 error "Relying on entity queries to check access by default is deprecated..."

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

Spokje created an issue. See original summary.

spokje’s picture

Issue summary: View changes
spokje’s picture

StatusFileSize
new14.73 KB
spokje’s picture

Grmbl, looks like our PHPStan baseline is out of sync between 10.0.x and 10.1.x.

INSTA-EDIT: Let's fix this in #3336590: Re-sync phpstan-baseline.neon between 10.0.x and 10.1.x

NOT-SO-INSTA-EDIT: Not much to do, since we've deprecated stuff in 10.1.x which we can't do in 10.0.x

spokje’s picture

StatusFileSize
new13.03 KB
spokje’s picture

Assigned: spokje » Unassigned
Status: Active » Needs review
spokje’s picture

Right...

Looks like a random JS test failure on 10.1.x in CKEditor5 happened twice, not putting any more test-cycles/effort in that.

needs-review-queue-bot’s picture

Status: Needs review » Needs work
StatusFileSize
new150 bytes

The Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. 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.

longwave’s picture

Status: Needs work » Reviewed & tested by the community

Works for me - let's add these to the baseline for now and then fix in the followup.

needs-review-queue-bot’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new91 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.

nod_’s picture

Status: Needs work » Reviewed & tested by the community
Issue tags: +no-needs-review-bot
nod_’s picture

  • catch committed 79cd4d36 on 10.1.x
    Issue #3336586 by Spokje: Fix failing "updated deps" test-runs by upping...

  • catch committed e09aa57a on 10.0.x
    Issue #3336586 by Spokje: Fix failing "updated deps" test-runs by upping...
catch’s picture

Status: Reviewed & tested by the community » Fixed

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

Status: Fixed » Closed (fixed)

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