EncodingFixer
extends AbstractFixer
in package
FinalYes
Fixer for rules defined in PSR1 ¶2.2.
Tags
Table of Contents
Properties
- $bom : string
Methods
- __construct() : mixed
- getDefinition() : FixerDefinitionInterface
- getPriority() : int
- isCandidate() : bool
- applyFix() : void
Properties
$bom
private
string
$bom
Methods
__construct()
public
__construct() : mixed
getDefinition()
public
getDefinition() : FixerDefinitionInterface
Return values
FixerDefinitionInterfacegetPriority()
public
getPriority() : int
Return values
intisCandidate()
public
isCandidate(Tokens $tokens) : bool
Parameters
- $tokens : Tokens
Return values
boolapplyFix()
protected
applyFix(SplFileInfo $file, Tokens $tokens) : void
Parameters
- $file : SplFileInfo
- $tokens : Tokens