Skip to content

Commit

Permalink
fixup! ValidVariableNameSniff: freshen allowed globals
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchamp authored Aug 29, 2024
1 parent 2408bf1 commit 40b7ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 40b7ef1

Please sign in to comment.