original_string: public function files()
      {
          $files = (new Finder)->files();
  
          foreach ($this->ignoredFiles as $name) {
              $files->notName($name);
          }
  
          foreach ($this->searchedFiles as $name) {
              $files->name($name);
          }
  
          return $files->exclude($this->ignoredDirectories)->in($this->dir);
      }
code: public function files()
      {
          $files = (new Finder)->files();
  
          foreach ($this->ignoredFiles as $name) {
              $files->notName($name);
          }
  
          foreach ($this->searchedFiles as $name) {
              $files->name($name);
          }
  
          return $files->exclude($this->ignoredDirectories)->in($this->dir);
      }
code_tokens: public function files ( ) { $ files = ( new Finder ) -> files ( ) ; foreach ( $ this -> ignoredFiles as $ name ) { $ files -> notName ( $ name ) ; } foreach ( $ this -> searchedFiles as $ name ) { $ files -> name ( $ name ) ; } return $ files -> exclude ( $ this -> ignoredDirectories ) -> in ( $ this -> dir ) ; }
docstring: Finds files to rename.
  
  @return array
docstring_tokens: Finds files to rename .