[skip ci] Suppress opcache debugging tools in gcovr

Suppress zend_dump.c and ssa_integrity.c. Also suppress the calls to
zend_dump_op_array() and the unreached branches.
This commit is contained in:
Ilija Tovilo committed 2026-04-08 21:36:15 +02:00
1 parent 188d520972
commit 0f3e741b53
1 file changed
+4
+4
View File
@@ -13,7 +13,11 @@ exclude = ext/mbstring/libmbfl/.*
exclude = ext/opcache/jit/ir/.*
exclude = ext/pcre/pcre2lib/.*
exclude = ext/uri/uriparser/.*
exclude = Zend/Optimizer/ssa_integrity\.c
exclude = Zend/Optimizer/zend_dump\.c
# These patterns have implicit ^/$ anchors.
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*