private function isOverComplete(Tokens $tokens, $index)
    {
        static $whiteList = ['{', '}', [T_OPEN_TAG], ':', ';'];

        return $tokens[$tokens->getPrevMeaningfulToken($index)]->equalsAny($whiteList);
    }
private function isOverComplete(Tokens $tokens, $index)
    {
        static $whiteList = ['{', '}', [T_OPEN_TAG], ':', ';'];

        return $tokens[$tokens->getPrevMeaningfulToken($index)]->equalsAny($whiteList);
    }
private function isOverComplete ( Tokens $ tokens , $ index ) { static $ whiteList = [ '{' , '}' , [ T_OPEN_TAG ] , ':' , ';' ] ; return $ tokens [ $ tokens -> getPrevMeaningfulToken ( $ index ) ] -> equalsAny ( $ whiteList ) ; }
@param Tokens $tokens
@param int    $index  index of `{` token

@return bool
@param Tokens $tokens @param int $index index of { token