src/Fixer/Comment/NoEmptyCommentFixer.php
private function getLineBreakCount(Tokens $tokens, $whiteStart, $whiteEnd)
    {
        $lineCount = 0;
        for ($i = $whiteStart; $i < $whiteEnd; ++$i) {
            $lineCount += Preg::matchAll('/\R/u', $tokens[$i]->getContent(), $matches);
        }

        return $lineCount;
    }
private function getLineBreakCount(Tokens $tokens, $whiteStart, $whiteEnd)
    {
        $lineCount = 0;
        for ($i = $whiteStart; $i < $whiteEnd; ++$i) {
            $lineCount += Preg::matchAll('/\R/u', $tokens[$i]->getContent(), $matches);
        }

        return $lineCount;
    }
private function getLineBreakCount ( Tokens $ tokens , $ whiteStart , $ whiteEnd ) { $ lineCount = 0 ; for ( $ i = $ whiteStart ; $ i < $ whiteEnd ; ++ $ i ) { $ lineCount += Preg :: matchAll ( '/\R/u' , $ tokens [ $ i ] -> getContent ( ) , $ matches ) ; } return $ lineCount ; }
@param Tokens $tokens
@param int    $whiteStart
@param int    $whiteEnd

@return int
@param Tokens $tokens @param int $whiteStart @param int $whiteEnd