Documentation

NoTrailingWhitespaceFixer extends AbstractFixer
in package

FinalYes

Fixer for rules defined in PSR2 ¶2.3.

Don't add trailing spaces at the end of non-blank lines.

Tags
author

Fabien Potencier fabien@symfony.com

author

Dariusz Rumiński dariusz.ruminski@gmail.com

Table of Contents

Methods

getDefinition()  : FixerDefinitionInterface
getPriority()  : int
{@inheritdoc}
isCandidate()  : bool
applyFix()  : void

Methods

getPriority()

{@inheritdoc}

public getPriority() : int

Must run after CombineConsecutiveIssetsFixer, CombineConsecutiveUnsetsFixer, EmptyLoopBodyFixer, EmptyLoopConditionFixer, FunctionToConstantFixer, ModernizeStrposFixer, NoEmptyCommentFixer, NoEmptyPhpdocFixer, NoEmptyStatementFixer, NoUnneededControlParenthesesFixer, NoUselessElseFixer, StringLengthToEmptyFixer, TernaryToElvisOperatorFixer.

Return values
int

        
On this page

Search results