PHP Class PhpCsFixer\Fixer\Whitespace\NoTrailingWhitespaceFixer

Don't add trailing spaces at the end of non-blank lines.
Author: Fabien Potencier ([email protected])
Author: Dariusz RumiƄski ([email protected])
Inheritance: extends PhpCsFixer\AbstractFixer
Show file Open project: friendsofphp/php-cs-fixer

Public Methods

Method Description
fix ( SplFileInfo $file, Tokens $tokens )
getPriority ( )
isCandidate ( Tokens $tokens )

Protected Methods

Method Description
getDescription ( )

Method Details

fix() public method

public fix ( SplFileInfo $file, Tokens $tokens )
$file SplFileInfo
$tokens PhpCsFixer\Tokenizer\Tokens

getDescription() protected method

protected getDescription ( )

getPriority() public method

public getPriority ( )

isCandidate() public method

public isCandidate ( Tokens $tokens )
$tokens PhpCsFixer\Tokenizer\Tokens