Problem/Motivation

Using the dev version of this module, phpstan complains about various class methods "missing the CacheableMetadata parameter added in Drupal 11.3. Update the signature to: getDefaultOperations(\Drupal\Core\Entity\EntityInterface $entity, ?\Drupal\Core\Cache\CacheableMetadata $cacheability = NULL). "

Proposed resolution

Update the signature as advised.

Remaining tasks

Make an MR. I'm assigning this to myself since I intend to work on it right away.

Issue fork feeds-3615083

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

benstallings created an issue. See original summary.

benstallings’s picture

Assigned: benstallings » Unassigned
Status: Active » Needs review
megachriz’s picture

Status: Needs review » Fixed

Thanks for your contribution! The test failures look unrelated, so I scheduled the merge.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

megachriz’s picture

Status: Fixed » Reviewed & tested by the community

Apparently, tests must be fixed first before this can be merged.

megachriz’s picture

Status: Reviewed & tested by the community » Fixed

Meanwhile I fixed the tests in #3615467: Fix tests and then I could merge this!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.