original_string: protected function buildFinder()
      {
          $finder = new Finder();
          $finder->files()
              ->name('/(\.php|composer\.json)$/')
              ->in($this->path)
              ->exclude($this->excludeDirs);
  
          return $finder;
      }
code: protected function buildFinder()
      {
          $finder = new Finder();
          $finder->files()
              ->name('/(\.php|composer\.json)$/')
              ->in($this->path)
              ->exclude($this->excludeDirs);
  
          return $finder;
      }
code_tokens: protected function buildFinder ( ) { $ finder = new Finder ( ) ; $ finder -> files ( ) -> name ( '/(\.php|composer\.json)$/' ) -> in ( $ this -> path ) -> exclude ( $ this -> excludeDirs ) ; return $ finder ; }
docstring: Returns a Finder set up for finding both composer.json and php files.
  
  @return Finder A Symfony Finder instance
docstring_tokens: Returns a Finder set up for finding both composer . json and php files .