src/PhpCodeAnalyzer.php
protected function catchAsStringUntilSemicolon(array $tokens, $pos) {
        $t = count($tokens);
        $catched = null;
        for ($i = $pos; $i < $t; $i++) {
            if ($tokens[$i] == ';')
                return $catched;
            else if ($tokens[$i] == '\\')
                $catched .= '\\';
            else if (is_array($tokens[$i])) {
                $catched .= $tokens[$i][1];
            }
        }
        return $catched;
    }
protected function catchAsStringUntilSemicolon(array $tokens, $pos) {
        $t = count($tokens);
        $catched = null;
        for ($i = $pos; $i < $t; $i++) {
            if ($tokens[$i] == ';')
                return $catched;
            else if ($tokens[$i] == '\\')
                $catched .= '\\';
            else if (is_array($tokens[$i])) {
                $catched .= $tokens[$i][1];
            }
        }
        return $catched;
    }
protected function catchAsStringUntilSemicolon ( array $ tokens , $ pos ) { $ t = count ( $ tokens ) ; $ catched = null ; for ( $ i = $ pos ; $ i < $ t ; $ i ++ ) { if ( $ tokens [ $ i ] == ';' ) return $ catched ; else if ( $ tokens [ $ i ] == '\\' ) $ catched .= '\\' ; else if ( is_array ( $ tokens [ $ i ] ) ) { $ catched .= $ tokens [ $ i ] [ 1 ] ; } } return $ catched ; }
Catches class name after use statement;
Catches class name after use statement ;