Permalink
Browse files

NOBUG: Add some well-known globals to avoid reporting them.

  • Loading branch information...
stronk7 committed Jun 16, 2012
1 parent 7412f1b commit e9033ff64dd20d2ed15387fae73bae97f2c13970
Showing with 2 additions and 1 deletion.
  1. +2 −1 moodle/Sniffs/NamingConventions/ValidVariableNameSniff.php
@@ -33,7 +33,8 @@ class moodle_Sniffs_NamingConventions_ValidVariableNameSniff
private $allowedglobals = array('ADMIN', 'CFG', 'COURSE', 'DB', 'FULLME',
'OUTPUT', 'PAGE', 'PERF', 'SESSION', 'SITE', 'THEME', 'USER',
'_SERVER', '_GET', '_POST', '_FILES', '_REQUEST', '_SESSION', '_ENV',
- '_COOKIE', '_HTTP_RAW_POST_DATA');
+ '_COOKIE', '_HTTP_RAW_POST_DATA', 'ACCESSLIB_PRIVATE',
+ 'CONDITIONLIB_PRIVATE', 'FILTERLIB_PRIVATE');
/**
* Processes class member variables.

0 comments on commit e9033ff

Please sign in to comment.