PHPStan fails for Next Minor

Created on 7 March 2025, 26 days ago

Problem/Motivation

PHPStan reports the following error for Next Minor only:

 ------ ------------------------------------------------------------- 
  Line   src/TruncateHTML.php                                         
 ------ ------------------------------------------------------------- 
  90     Method Drupal\smart_trim\TruncateHTML::init() should return  
         DOMDocument but returns DOMNode.                             
         🪪  return.type                                              
 ------ ------------------------------------------------------------- 

Steps to reproduce

See job log.

Proposed resolution

Investigate why return type is causing a mismatch now, but didn't previously. Identify what change is needed.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇪Ireland lostcarpark

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024