diff --git a/moodle/Sniffs/PHP/ForbiddenFunctionsSniff.php b/moodle/Sniffs/PHP/ForbiddenFunctionsSniff.php index c03a8b98..62262373 100644 --- a/moodle/Sniffs/PHP/ForbiddenFunctionsSniff.php +++ b/moodle/Sniffs/PHP/ForbiddenFunctionsSniff.php @@ -59,7 +59,7 @@ class ForbiddenFunctionsSniff extends GenericForbiddenFunctionsSniff { // Usual development debugging functions. 'sizeof' => 'count', 'delete' => 'unset', - 'error_log' => null, + 'error_log' => 'debugging', 'print_r' => null, 'print_object' => null, // Dangerous functions. From coding style.