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

Public Member Functions

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

Detailed Description

Prevent usage of the new PHP 7 unicode escape syntax

See Also
https://wiki.php.net/rfc/unicode_escape

Member Function Documentation

MediaWiki\Sniffs\AlternativeSyntax\PHP7UnicodeSyntaxSniff::process ( File  $phpcsFile,
  $stackPtr 
)
Parameters
File$phpcsFileFile object.
int$stackPtrThe current token index.
Returns
void

Implements PHP_CodeSniffer\Sniffs\Sniff.

MediaWiki\Sniffs\AlternativeSyntax\PHP7UnicodeSyntaxSniff::register ( )
Returns
array

Implements PHP_CodeSniffer\Sniffs\Sniff.


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