From 3d7e621b7dfc03f0b2d9dcf6eb06c26bc383f502 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 28 Mar 2023 10:11:58 +0100 Subject: [PATCH] chore: phpunit `>10.0.19` support --- composer.json | 4 ++-- tests/.snapshots/help-command.txt | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 0e848820..f676ea26 100644 --- a/composer.json +++ b/composer.json @@ -23,11 +23,11 @@ "nunomaduro/termwind": "^1.15.1", "pestphp/pest-plugin": "^2.0.1", "pestphp/pest-plugin-arch": "^2.0.2", - "phpunit/phpunit": "^10.0.18" + "phpunit/phpunit": "^10.0.19" }, "conflict": { "webmozart/assert": "<1.11.0", - "phpunit/phpunit": ">10.0.18" + "phpunit/phpunit": ">10.0.19" }, "autoload": { "psr-4": { diff --git a/tests/.snapshots/help-command.txt b/tests/.snapshots/help-command.txt index 4e8e9fa6..5221ae08 100644 --- a/tests/.snapshots/help-command.txt +++ b/tests/.snapshots/help-command.txt @@ -43,17 +43,17 @@ --enforce-time-limit ................. Enforce time limit based on test size --default-time-limit [sec] Timeout in seconds for tests that have no declared size --dont-report-useless-tests .. Do not report tests that do not test anything - --stop-on-defect ................. Stop execution upon first not-passed test - --stop-on-error ............................ Stop execution upon first error - --stop-on-failure ............... Stop execution upon first error or failure - --stop-on-warning ........................ Stop execution upon first warning - --stop-on-risky ....................... Stop execution upon first risky test - --stop-on-skipped ................... Stop execution upon first skipped test - --stop-on-incomplete ............. Stop execution upon first incomplete test - --fail-on-incomplete .................... Treat incomplete tests as failures - --fail-on-risky .............................. Treat risky tests as failures - --fail-on-skipped .......................... Treat skipped tests as failures - --fail-on-warning .................... Treat tests with warnings as failures + --stop-on-defect ... Stop after first error, failure, warning or, risky test + --stop-on-error ..................................... Stop after first error + --stop-on-failure ................................. Stop after first failure + --stop-on-warning ................................. Stop after first warning + --stop-on-risky ................................ Stop after first risky test + --stop-on-skipped ............................ Stop after first skipped test + --stop-on-incomplete ...................... Stop after first incomplete test + --fail-on-warning Signal failure using shell exit code when a warning was triggered + --fail-on-risky Signal failure using shell exit code when a test was considered risky + --fail-on-skipped Signal failure using shell exit code when a test was skipped + --fail-on-incomplete Signal failure using shell exit code when a test was marked incomplete --cache-result ............................ Write test results to cache file --do-not-cache-result .............. Do not write test results to cache file --order-by [order] Run tests in order: default|defects|depends|duration|no-depends|random|reverse|size