protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        $count = $tokens->count();

        if ($count && !$tokens[$count - 1]->isGivenKind([T_INLINE_HTML, T_CLOSE_TAG, T_OPEN_TAG])) {
            $tokens->ensureWhitespaceAtIndex($count - 1, 1, $this->whitespacesConfig->getLineEnding());
        }
    }
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        $count = $tokens->count();

        if ($count && !$tokens[$count - 1]->isGivenKind([T_INLINE_HTML, T_CLOSE_TAG, T_OPEN_TAG])) {
            $tokens->ensureWhitespaceAtIndex($count - 1, 1, $this->whitespacesConfig->getLineEnding());
        }
    }
protected function applyFix ( \ SplFileInfo $ file , Tokens $ tokens ) { $ count = $ tokens -> count ( ) ; if ( $ count && ! $ tokens [ $ count - 1 ] -> isGivenKind ( [ T_INLINE_HTML , T_CLOSE_TAG , T_OPEN_TAG ] ) ) { $ tokens -> ensureWhitespaceAtIndex ( $ count - 1 , 1 , $ this -> whitespacesConfig -> getLineEnding ( ) ) ; } }
{@inheritdoc}
{