BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
MediaWiki\Sniffs\Usage\SuperGlobalsUsageSniff Class Reference
Inheritance diagram for MediaWiki\Sniffs\Usage\SuperGlobalsUsageSniff:
Collaboration diagram for MediaWiki\Sniffs\Usage\SuperGlobalsUsageSniff:

Public Member Functions

static register ()
 
 process (File $phpcsFile, $stackPtr)
 

Static Public Attributes

static $forbiddenList
 

Member Function Documentation

MediaWiki\Sniffs\Usage\SuperGlobalsUsageSniff::process ( File  $phpcsFile,
  $stackPtr 
)
Parameters
File$phpcsFileThe File object.
int$stackPtrThe current token index.
Returns
void

Implements PHP_CodeSniffer\Sniffs\Sniff.

static MediaWiki\Sniffs\Usage\SuperGlobalsUsageSniff::register ( )
Returns
array

Implements PHP_CodeSniffer\Sniffs\Sniff.

Member Data Documentation

MediaWiki\Sniffs\Usage\SuperGlobalsUsageSniff::$forbiddenList
static
Initial value:
= [
'$_POST' => true

The documentation for this class was generated from the following file: