LowercaseKeywordsFixer
extends AbstractFixer
in package
FinalYes
Fixer for rules defined in PSR2 ¶2.5.
Tags
Table of Contents
Properties
- $excludedTokens : array<int, int>
Methods
- getDefinition() : FixerDefinitionInterface
- isCandidate() : bool
- applyFix() : void
Properties
$excludedTokens
private
static array<int, int>
$excludedTokens
= [T_HALT_COMPILER]
Methods
getDefinition()
public
getDefinition() : FixerDefinitionInterface
Return values
FixerDefinitionInterfaceisCandidate()
public
isCandidate(Tokens $tokens) : bool
Parameters
- $tokens : Tokens
Return values
boolapplyFix()
protected
applyFix(SplFileInfo $file, Tokens $tokens) : void
Parameters
- $file : SplFileInfo
- $tokens : Tokens