From 9924c2f0becbf78ff5fb6b0905d4bd79d0b8d9c9 Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Thu, 21 Mar 2024 20:42:19 +0100 Subject: [PATCH 1/2] Fix Testing section in README The Testing section referred to a non-existing composer script `test` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13dab8e..0152612 100644 --- a/README.md +++ b/README.md @@ -795,7 +795,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re ## Testing ``` bash -$ composer test +$ vendor/bin/phpunit ``` ## Contributing From f855aa528e3d8b20a04a3cb80ce4869337a05ff8 Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Fri, 22 Mar 2024 09:09:56 +0100 Subject: [PATCH 2/2] Add composer script "test" --- README.md | 2 +- composer.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0152612..13dab8e 100644 --- a/README.md +++ b/README.md @@ -795,7 +795,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re ## Testing ``` bash -$ vendor/bin/phpunit +$ composer test ``` ## Contributing diff --git a/composer.json b/composer.json index 6b024d8..2709048 100644 --- a/composer.json +++ b/composer.json @@ -42,8 +42,9 @@ }, "scripts": { "phpstan": "vendor/bin/phpstan", + "test": "vendor/bin/phpunit", "all-checks": [ - "phpunit", + "@test", "@phpstan" ], "benchmarks": "vendor/bin/phpbench run benchmarks --report=aggregate"