original_string: protected function resolveLocalGlobPath(array $files)
      {
          $absoluteFiles  = $this->resolveFullPath($files);
          $expandedFiles  = array();
          foreach ($absoluteFiles as $absoluteFile) {
              $globResult     = glob($absoluteFile);
              if (   empty($globResult)
                  && stripos($absoluteFile, '*') === false
                  && !file_exists($absoluteFile)
              ) {
                  $expandedFiles[]    = $absoluteFile;
              } else {
                  $expandedFiles  = array_merge($expandedFiles, $globResult);
              }
          }
          return $this->resolveLocalPath($expandedFiles);
      }
code: protected function resolveLocalGlobPath(array $files)
      {
          $absoluteFiles  = $this->resolveFullPath($files);
          $expandedFiles  = array();
          foreach ($absoluteFiles as $absoluteFile) {
              $globResult     = glob($absoluteFile);
              if (   empty($globResult)
                  && stripos($absoluteFile, '*') === false
                  && !file_exists($absoluteFile)
              ) {
                  $expandedFiles[]    = $absoluteFile;
              } else {
                  $expandedFiles  = array_merge($expandedFiles, $globResult);
              }
          }
          return $this->resolveLocalPath($expandedFiles);
      }
code_tokens: protected function resolveLocalGlobPath ( array $ files ) { $ absoluteFiles = $ this -> resolveFullPath ( $ files ) ; $ expandedFiles = array ( ) ; foreach ( $ absoluteFiles as $ absoluteFile ) { $ globResult = glob ( $ absoluteFile ) ; if ( empty ( $ globResult ) && stripos ( $ absoluteFile , '*' ) === false && ! file_exists ( $ absoluteFile ) ) { $ expandedFiles [ ] = $ absoluteFile ; } else { $ expandedFiles = array_merge ( $ expandedFiles , $ globResult ) ; } } return $ this -> resolveLocalPath ( $ expandedFiles ) ; }
docstring: Resolves an absolute path containing glob wildcards into a path relative to the repository path
  
  @param   array       $files      The list of files
  @return  array
docstring_tokens: Resolves an absolute path containing glob wildcards into a path relative to the repository path