-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.2
-
MOODLE_402_STABLE
Using the new SensitiveParameter attribute in function calls ensures that any parameter printed in a stack trace by debug_print_backtrace and friends will be redacted.
Since this makes use of PHP Attributes, we can use it for any PHP version that Moodle 4.1+ supprots.
https://php.watch/versions/8.2/backtrace-parameter-redaction