From 8a2b3ad115c6632cbafd82ddb2e2e0a4cc7f767d Mon Sep 17 00:00:00 2001 From: Leon Helmus Date: Fri, 9 Jan 2026 11:46:53 +0100 Subject: [PATCH] Fix default template for phpunit that gets installed in projects. --- CHANGELOG.md | 4 ++++ templates/files/default/phpunit_dist.xml | 21 +++++++++++++-------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 590531f..d31adff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.1] +### Fixed +- Updated default `phpunit_dist.xml` to standards of PHPUnit version 10 and higher. + ## [3.0.0] ### Added - Added `phpunit/phpunit` to suggested dependencies in `composer.json`. diff --git a/templates/files/default/phpunit_dist.xml b/templates/files/default/phpunit_dist.xml index 2052f21..87ff3ac 100644 --- a/templates/files/default/phpunit_dist.xml +++ b/templates/files/default/phpunit_dist.xml @@ -1,10 +1,15 @@ + - - - src - - + xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" + bootstrap="vendor/autoload.php"> + + + + + + + + + +