Problem/Motivation

PHPStan baseline is currently skipping multiple Call to an undefined method errors.

Proposed resolution

Fix the errors in AssertContentTraitTest, clean up the baseline.

Issue fork drupal-3316129

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mondrake created an issue. See original summary.

mondrake’s picture

Status: Active » Needs review
mondrake’s picture

Title: Fix AssertContentTraitTest PHPStan issues » Fix AssertContentTraitTest PHPStan-0 issues
daffie’s picture

Status: Needs review » Reviewed & tested by the community

A simple fix removes a lot of warnings.
For me it is RTBC.

  • catch committed 8d8d4e5 on 10.1.x
    Issue #3316129 by mondrake: Fix AssertContentTraitTest PHPStan-0 issues
    

  • catch committed 0ca8174 on 10.0.x
    Issue #3316129 by mondrake: Fix AssertContentTraitTest PHPStan-0 issues...
catch’s picture

Version: 10.1.x-dev » 10.0.x-dev
Status: Reviewed & tested by the community » Fixed

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

Status: Fixed » Closed (fixed)

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