From c6d76ba6194d8281535bb63f63ef7cdd76ff43ac Mon Sep 17 00:00:00 2001 From: 8ctopus Date: Thu, 27 Nov 2025 16:03:16 +0400 Subject: [PATCH] Add phpunit 12 as a test option Add composer test as a test shortcut Improve phpunit configuration to show issues Remove obsolete phpunit settings --- composer.json | 5 ++++- phpunit.xml | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index ee7a971..bf6d618 100644 --- a/composer.json +++ b/composer.json @@ -25,6 +25,9 @@ "ext-mbstring": "*" }, "require-dev": { - "phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11" + "phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11 || ^12" + }, + "scripts": { + "test": "phpunit" } } diff --git a/phpunit.xml b/phpunit.xml index 43738b6..ff205dd 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,14 @@