Add failOnPhpunitWarning attribute to phpunit.xml.dist

Created on 30 August 2025, about 1 month ago

Problem/Motivation

PHPUnit 11.5.24 introduced separate logic to let the test fail on warnings thrown by PHPUnit itself (i.e. not via a trigger_error() call). Very similar to the logic for PHPUnit own deeprecations.

Not setting the attribute leads to PHPUnit warnings not being reported nor fail the test runs.

Proposed resolution

Add the failOnPhpunitWarning="true" attribute to thePHPUnit xml configuration file.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇮🇹Italy mondrake 🇮🇹

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