Remove debug dump helpers from production PHP
var_dump, print_r, debug_zval_dump, and xdebug helpers should not ship in application code paths.
#Metadata
#Why it matters
Debug helpers can leak secrets, PII, and internal object state to logs or HTTP responses.
#Remediation
Remove debug helpers from production paths or route diagnostics through structured logging with redaction.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/php/php.security.debug-function-exposure.rule.yaml.