Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
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:
- 3316129-fix-assertcontenttraittest-phpstan changes, plain diff MR !2888
Comments
Comment #3
mondrakeComment #4
mondrakeComment #5
daffie CreditAttribution: daffie at Finalist commentedA simple fix removes a lot of warnings.
For me it is RTBC.
Comment #8
catchCommitted/pushed to 10.1.x and 10.0.x, thanks!