From 40b7ef1ec07296e1879f6e53c09eb761ce8c642c Mon Sep 17 00:00:00 2001 From: Jonathan Champ Date: Thu, 29 Aug 2024 16:57:46 -0400 Subject: [PATCH] fixup! ValidVariableNameSniff: freshen allowed globals --- moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php b/moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php index 115e1fd..e672701 100644 --- a/moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php +++ b/moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php @@ -57,13 +57,13 @@ class ValidVariableNameSniff extends AbstractVariableSniff 'THEME', 'USER', 'XMLDB', - + // Moodle global literals. 'FULLME', 'FULLSCRIPT', 'ME', 'SCRIPT', - + // Moodle private objects. 'ACCESSLIB_PRIVATE', 'CONDITIONLIB_PRIVATE', // Removed in Moodle 2.7.