Method | Description | |
---|---|---|
fix ( SplFileInfo $file, |
Fixes a file. | |
getName ( ) : string | Returns the name of the fixer. | |
getPriority ( ) : integer | Returns the priority of the fixer. | |
isCandidate ( |
Check if the fixer is a candidate for given Tokens collection. | |
isRisky ( ) : boolean | Check if fixer is risky or not. | |
supports ( SplFileInfo $file ) : boolean | Returns true if the file is supported by this fixer. |
public fix ( SplFileInfo $file, |
||
$file | SplFileInfo | A \SplFileInfo instance |
$tokens | Tokens collection |
public getPriority ( ) : integer | ||
return | integer |
public isCandidate ( |
||
$tokens | ||
return | boolean |