original_string: protected function extractRelevantInfo()
      {
          $this->customNumberFormats = [];
          $this->stylesAttributes = [];
  
          $xmlReader = new XMLReader();
  
          if ($xmlReader->openFileInZip($this->filePath, self::STYLES_XML_FILE_PATH)) {
              while ($xmlReader->read()) {
                  if ($xmlReader->isPositionedOnStartingNode(self::XML_NODE_NUM_FMTS)) {
                      $this->extractNumberFormats($xmlReader);
  
                  } else if ($xmlReader->isPositionedOnStartingNode(self::XML_NODE_CELL_XFS)) {
                      $this->extractStyleAttributes($xmlReader);
                  }
              }
  
              $xmlReader->close();
          }
      }
code: protected function extractRelevantInfo()
      {
          $this->customNumberFormats = [];
          $this->stylesAttributes = [];
  
          $xmlReader = new XMLReader();
  
          if ($xmlReader->openFileInZip($this->filePath, self::STYLES_XML_FILE_PATH)) {
              while ($xmlReader->read()) {
                  if ($xmlReader->isPositionedOnStartingNode(self::XML_NODE_NUM_FMTS)) {
                      $this->extractNumberFormats($xmlReader);
  
                  } else if ($xmlReader->isPositionedOnStartingNode(self::XML_NODE_CELL_XFS)) {
                      $this->extractStyleAttributes($xmlReader);
                  }
              }
  
              $xmlReader->close();
          }
      }
code_tokens: protected function extractRelevantInfo ( ) { $ this -> customNumberFormats = [ ] ; $ this -> stylesAttributes = [ ] ; $ xmlReader = new XMLReader ( ) ; if ( $ xmlReader -> openFileInZip ( $ this -> filePath , self :: STYLES_XML_FILE_PATH ) ) { while ( $ xmlReader -> read ( ) ) { if ( $ xmlReader -> isPositionedOnStartingNode ( self :: XML_NODE_NUM_FMTS ) ) { $ this -> extractNumberFormats ( $ xmlReader ) ; } else if ( $ xmlReader -> isPositionedOnStartingNode ( self :: XML_NODE_CELL_XFS ) ) { $ this -> extractStyleAttributes ( $ xmlReader ) ; } } $ xmlReader -> close ( ) ; } }
docstring: Reads the styles.xml file and extract the relevant information from the file.
  
  @return void
docstring_tokens: Reads the styles . xml file and extract the relevant information from the file .