original_string: public function insertNewRowBefore($pBefore = 1, $pNumRows = 1)
      {
          if ($pBefore >= 1) {
              $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance();
              $objReferenceHelper->insertNewBefore('A' . $pBefore, 0, $pNumRows, $this);
          } else {
              throw new PHPExcel_Exception("Rows can only be inserted before at least row 1.");
          }
          return $this;
      }
code: public function insertNewRowBefore($pBefore = 1, $pNumRows = 1)
      {
          if ($pBefore >= 1) {
              $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance();
              $objReferenceHelper->insertNewBefore('A' . $pBefore, 0, $pNumRows, $this);
          } else {
              throw new PHPExcel_Exception("Rows can only be inserted before at least row 1.");
          }
          return $this;
      }
code_tokens: public function insertNewRowBefore ( $ pBefore = 1 , $ pNumRows = 1 ) { if ( $ pBefore >= 1 ) { $ objReferenceHelper = PHPExcel_ReferenceHelper :: getInstance ( ) ; $ objReferenceHelper -> insertNewBefore ( 'A' . $ pBefore , 0 , $ pNumRows , $ this ) ; } else { throw new PHPExcel_Exception ( "Rows can only be inserted before at least row 1." ) ; } return $ this ; }
docstring: Insert a new row, updating all possible related data
  
  @param int $pBefore    Insert before this one
  @param int $pNumRows    Number of rows to insert
  @throws    PHPExcel_Exception
  @return PHPExcel_Worksheet
docstring_tokens: Insert a new row updating all possible related data