Fix PHPStan error in run-tests.sh

Created on 23 July 2023, almost 2 years ago
Updated 31 August 2023, over 1 year ago

Problem/Motivation

Discovered while committing 📌 Remove "Please" from the codebase Fixed , this would apparently be triggered by any change to core/scripts/run-tests.sh:

$ ../vendor/bin/phpstan analyze scripts/run-tests.sh 

 ------ ------------------------------------------------------------------------------------------------------ 
  Line                                                                                                         
 ------ ------------------------------------------------------------------------------------------------------ 
  1239   Static method Drupal\Component\Utility\Html::decodeEntities() invoked with 3 parameters, 1 required.  
 ------ ------------------------------------------------------------------------------------------------------ 

Unsure why the full run of PHPStan doesn't pick this up.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Base 

Last updated about 13 hours ago

Created by

🇬🇧United Kingdom longwave UK

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

Comments & Activities

Production build 0.71.5 2024