phpunit coverate checks added with report to HTMl, phpstan check fixes for enum

This commit is contained in:
Clemens Schwaighofer
2026-04-17 18:56:07 +09:00
parent 188f0b57d0
commit 90d76bbd6c
6 changed files with 17 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ php_version="";
no_php_version=0;
use_composer=0;
opt_generate_coverage="";
opt_generate_coverage_html="";
while [ -n "${1-}" ]; do
case "${1}" in
-t | --testdox)
@@ -65,6 +66,10 @@ while [ -n "${1-}" ]; do
opt_generate_coverage="--coverage-text";
shift
;;
--coverage-report)
opt_generate_coverage_html="--coverage-html build/coverage-report";
shift
;;
-p | --php)
php_version="${2-}";
shift
@@ -114,6 +119,7 @@ PHPUNIT_CALL+=(
"${opt_testdox}"
"${opt_verbose}"
"${opt_generate_coverage}"
"${opt_generate_coverage_html}"
"-c" "${PHPUNIT_CONFIG}"
"${BASE_PATH}4dev/tests/"
);