From 43e666de0f2f1d20d951f9d33eaab7b381f96a58 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Fri, 3 Feb 2023 17:16:17 -0800 Subject: [PATCH] Remove --debug option removed in PHPUnit 10 for continuous integration tests Error: + ../vendor/bin/phpunit --configuration phpunit.xml --debug --verbose PHPUnit 10.0.1 by Sebastian Bergmann and contributors. Unknown option "--debug" --- tests/ci.sh | 1 - tests/run.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ci.sh b/tests/ci.sh index 4c061fb..7382556 100755 --- a/tests/ci.sh +++ b/tests/ci.sh @@ -93,7 +93,6 @@ fi "${phpunit_to_use}" --version "${phpunit_to_use}" \ --configuration "phpunit.xml" \ - --debug \ --verbose if [[ "${?}" -ne 0 ]]; then echo "Error: phpunit command failed" diff --git a/tests/run.sh b/tests/run.sh index ba8e9ae..28d17e6 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -124,5 +124,5 @@ done if [[ "${CI_PHP_FUTURE_RELEASE}" != "true" ]]; then exit "${#errors[@]}" elif [[ "${#errors[@]}" -ne 0 ]]; then - echo "One or more tests failed, but allowed as CI_PHP_FUTURE_RELEASE is on for PHP version ${CI_PHP_VERSION}." + echo "One or more tests failed, but allowed as the CI_PHP_FUTURE_RELEASE flag is on for PHP version ${CI_PHP_VERSION}." fi