From 31bdbb5e9071c672f2a7bc3f398a6c7cf222db8f Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sat, 14 Nov 2026 02:01:36 +0000 Subject: [PATCH] coverage: exclude zend_parse_parameters_debug_error() As it is a debug function that should never get triggered in production --- gcovr.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcovr.cfg b/gcovr.cfg index c8c7177e2a18..4f479cef6524 100644 --- a/gcovr.cfg +++ b/gcovr.cfg @@ -22,3 +22,6 @@ exclude-lines-by-pattern = .*\b(ZEND_PARSE_PARAMETERS_(START|END|NONE)|Z_PARAM_) exclude-lines-by-pattern = \s*(default:\s*)?ZEND_UNREACHABLE\(\);\s* exclude-lines-by-pattern = \s*if \(ctx->debug_level & ZEND_DUMP_\w+\) \{\s* exclude-lines-by-pattern = \s*zend_dump_op_array\(.*\);\s* + +# These functions are test/debugging functions +exclude-function = zend_parse_parameters_debug_error \ No newline at end of file