src/Fixer/Whitespace/NoExtraBlankLinesFixer.php
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        $this->tokens = $tokens;
        $this->tokensAnalyzer = new TokensAnalyzer($this->tokens);
        for ($index = $tokens->getSize() - 1; $index > 0; --$index) {
            $this->fixByToken($tokens[$index], $index);
        }
    }
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        $this->tokens = $tokens;
        $this->tokensAnalyzer = new TokensAnalyzer($this->tokens);
        for ($index = $tokens->getSize() - 1; $index > 0; --$index) {
            $this->fixByToken($tokens[$index], $index);
        }
    }
protected function applyFix ( \ SplFileInfo $ file , Tokens $ tokens ) { $ this -> tokens = $ tokens ; $ this -> tokensAnalyzer = new TokensAnalyzer ( $ this -> tokens ) ; for ( $ index = $ tokens -> getSize ( ) - 1 ; $ index > 0 ; -- $ index ) { $ this -> fixByToken ( $ tokens [ $ index ] , $ index ) ; } }
{@inheritdoc}
{