Remove --verbose option removed in PHPUnit 10

Error:
  + ../vendor/bin/phpunit --configuration phpunit.xml --verbose
  PHPUnit 10.0.1 by Sebastian Bergmann and contributors.

  Unknown option "--verbose"
This commit is contained in:
Zach Borboa
2023-02-03 17:24:13 -08:00
parent 43e666de0f
commit bcf3c1ad33
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -92,8 +92,7 @@ fi
# Run tests.
"${phpunit_to_use}" --version
"${phpunit_to_use}" \
--configuration "phpunit.xml" \
--verbose
--configuration "phpunit.xml"
if [[ "${?}" -ne 0 ]]; then
echo "Error: phpunit command failed"
errors+=("phpunit command failed")
-1
View File
@@ -93,7 +93,6 @@ extra_args="${@}"
"${phpunit_to_use}" --version
"${phpunit_to_use}" \
--configuration "phpunit.xml" \
--verbose \
${extra_args}
if [[ "${?}" -ne 0 ]]; then
echo "Error: phpunit command failed"