PHP Class SlevomatCodingStandard\Sniffs\ControlStructures\YodaComparisonSniff
($variable, Foo::$class, Foo::bar(), foo())
> (Foo::BAR, BAR)
> (true, false, null, 1, 1.0, arrays, 'foo')
Afficher le fichier
Open project: slevomat/coding-standard
Méthodes publiques
Méthode |
Description |
|
process ( PHP_CodeSniffer_File $phpcsFile, integer $comparisonTokenPointer ) |
|
|
register ( ) : integer[] |
|
|
Private Methods
Method Details
public process ( PHP_CodeSniffer_File $phpcsFile, integer $comparisonTokenPointer ) |
$phpcsFile |
PHP_CodeSniffer_File |
|
$comparisonTokenPointer |
integer |
|
register()
public méthode
public register ( ) : integer[] |
Résultat |
integer[] |
|