original_string: private function raiseIndentationLevel(int $indentationLevel, array $tokensInLine): int
      {
          $raisingIndentation = [
              TokenInterface::TYPE_BRACE_OPEN,
          ];
  
          if ($this->indentConditions && $this->insideCondition === false) {
              $raisingIndentation[] = TokenInterface::TYPE_CONDITION;
          }
  
          foreach ($tokensInLine as $token) {
              if (in_array($token->getType(), $raisingIndentation)) {
                  if ($token->getType() === TokenInterface::TYPE_CONDITION) {
                      $this->insideCondition = true;
                  }
                  return $indentationLevel + 1;
              }
          }
  
          return $indentationLevel;
      }
code: private function raiseIndentationLevel(int $indentationLevel, array $tokensInLine): int
      {
          $raisingIndentation = [
              TokenInterface::TYPE_BRACE_OPEN,
          ];
  
          if ($this->indentConditions && $this->insideCondition === false) {
              $raisingIndentation[] = TokenInterface::TYPE_CONDITION;
          }
  
          foreach ($tokensInLine as $token) {
              if (in_array($token->getType(), $raisingIndentation)) {
                  if ($token->getType() === TokenInterface::TYPE_CONDITION) {
                      $this->insideCondition = true;
                  }
                  return $indentationLevel + 1;
              }
          }
  
          return $indentationLevel;
      }
code_tokens: private function raiseIndentationLevel ( int $ indentationLevel , array $ tokensInLine ) : int { $ raisingIndentation = [ TokenInterface :: TYPE_BRACE_OPEN , ] ; if ( $ this -> indentConditions && $ this -> insideCondition === false ) { $ raisingIndentation [ ] = TokenInterface :: TYPE_CONDITION ; } foreach ( $ tokensInLine as $ token ) { if ( in_array ( $ token -> getType ( ) , $ raisingIndentation ) ) { if ( $ token -> getType ( ) === TokenInterface :: TYPE_CONDITION ) { $ this -> insideCondition = true ; } return $ indentationLevel + 1 ; } } return $ indentationLevel ; }
docstring: Check whether indentation should be raised by one level, for current line.
  
  Checks tokens in current line, and whether they will raise the indentation by one.
  
  @param int $indentationLevel The current indentation level
  @param TokenInterface[] $tokensInLine
  @return int The new indentation level
docstring_tokens: Check whether indentation should be raised by one level for current line .