protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        foreach ($tokens as $index => $token) {
            if (!$token->isGivenKind([T_CONSTANT_ENCAPSED_STRING, T_START_HEREDOC])) {
                continue;
            }

            $content = $token->getContent();

            if ('b' === strtolower($content[0])) {
                $tokens[$index] = new Token([$token->getId(), substr($content, 1)]);
            }
        }
    }
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        foreach ($tokens as $index => $token) {
            if (!$token->isGivenKind([T_CONSTANT_ENCAPSED_STRING, T_START_HEREDOC])) {
                continue;
            }

            $content = $token->getContent();

            if ('b' === strtolower($content[0])) {
                $tokens[$index] = new Token([$token->getId(), substr($content, 1)]);
            }
        }
    }
protected function applyFix ( \ SplFileInfo $ file , Tokens $ tokens ) { foreach ( $ tokens as $ index => $ token ) { if ( ! $ token -> isGivenKind ( [ T_CONSTANT_ENCAPSED_STRING , T_START_HEREDOC ] ) ) { continue ; } $ content = $ token -> getContent ( ) ; if ( 'b' === strtolower ( $ content [ 0 ] ) ) { $ tokens [ $ index ] = new Token ( [ $ token -> getId ( ) , substr ( $ content , 1 ) ] ) ; } } }
{@inheritdoc}
{