Skip to content

Commit 087b58f

Browse files
committed
Added the $_SERVER variable to the list of valid variables.
1 parent 566bbc3 commit 087b58f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PolderKnowledge/Sniffs/Naming/VariableNameSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class PolderKnowledge_Sniffs_Naming_VariableNameSniff implements PHP_CodeSniffer
88
'$_GET',
99
'$_POST',
1010
'$_REQUEST',
11+
'$_SERVER',
1112
'$_SESSION',
1213
'$GLOBALS',
1314
);

0 commit comments

Comments
 (0)