HtmlOutputLogger outputs surplus newline

Created on 5 June 2024, 4 months ago
Updated 26 June 2024, 3 months ago

Problem/Motivation

The new PHPUnit 10 version of HtmlOutputLogger outputs a blank line between every HTML file. This makes the debugging output take up twice as much screen space.

Steps to reproduce

Proposed resolution

The problem is that HtmlOutputLogger::log() appends a \n but htmlOutput() does this:

    HtmlOutputLogger::log($uri . "\n");

Remaining tasks

- decide which bit of the code is responsible for the newline
- document it
- fix it

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 7 hours ago

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024