original_string: final public function get_excludelists(string $plugindir) : array {
          $filters = [];
  
          if (!empty($plugindir)) {
              $plugindir .= "/";
          }
  
          foreach ($this->excludelistfolders as $folder) {
              $filters[] = html_writer::tag('directory', "{$plugindir}{$folder}", ['suffix' => '.php']);
          }
  
          foreach ($this->excludelistfiles as $file) {
              $filters[] = html_writer::tag('file', "{$plugindir}{$file}");
          }
  
          return $filters;
      }
code: final public function get_excludelists(string $plugindir) : array {
          $filters = [];
  
          if (!empty($plugindir)) {
              $plugindir .= "/";
          }
  
          foreach ($this->excludelistfolders as $folder) {
              $filters[] = html_writer::tag('directory', "{$plugindir}{$folder}", ['suffix' => '.php']);
          }
  
          foreach ($this->excludelistfiles as $file) {
              $filters[] = html_writer::tag('file', "{$plugindir}{$file}");
          }
  
          return $filters;
      }
code_tokens: final public function get_excludelists ( string $ plugindir ) : array { $ filters = [ ] ; if ( ! empty ( $ plugindir ) ) { $ plugindir .= "/" ; } foreach ( $ this -> excludelistfolders as $ folder ) { $ filters [ ] = html_writer :: tag ( 'directory' , "{$plugindir}{$folder}" , [ 'suffix' => '.php' ] ) ; } foreach ( $ this -> excludelistfiles as $ file ) { $ filters [ ] = html_writer :: tag ( 'file' , "{$plugindir}{$file}" ) ; } return $ filters ; }
docstring: Get the formatted XML list of files and folders to exclude.
  
  @param   string  $plugindir The root of the plugin, relative to the dataroot.
  @return  array
docstring_tokens: Get the formatted XML list of files and folders to exclude .