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

Public Member Functions

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

Member Function Documentation

MediaWiki\Sniffs\AlternativeSyntax\LeadingZeroInFloatSniff::process ( File  $phpcsFile,
  $stackPtr 
)

If the float starts with a period, it needs a zero in front

Parameters
File$phpcsFileFile
int$stackPtrLocation

Implements PHP_CodeSniffer\Sniffs\Sniff.

MediaWiki\Sniffs\AlternativeSyntax\LeadingZeroInFloatSniff::register ( )

T_DNUMBER is any floating point number

Returns
array

Implements PHP_CodeSniffer\Sniffs\Sniff.


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