original_string: public function in($path)
      {
          $finder = $this->getSymfonyFinder()
              ->in($path)
              ->files()
              ->name('ruleset.xml')
              ->sortByName();
          $paths = iterator_to_array($finder, false);
          $paths = array_map(
              function (\SplFileInfo $file) {
                  return $file->getPath();
              },
              $paths
          );
  
          return $this->createStandardsFromPaths($paths);
      }
code: public function in($path)
      {
          $finder = $this->getSymfonyFinder()
              ->in($path)
              ->files()
              ->name('ruleset.xml')
              ->sortByName();
          $paths = iterator_to_array($finder, false);
          $paths = array_map(
              function (\SplFileInfo $file) {
                  return $file->getPath();
              },
              $paths
          );
  
          return $this->createStandardsFromPaths($paths);
      }
code_tokens: public function in ( $ path ) { $ finder = $ this -> getSymfonyFinder ( ) -> in ( $ path ) -> files ( ) -> name ( 'ruleset.xml' ) -> sortByName ( ) ; $ paths = iterator_to_array ( $ finder , false ) ; $ paths = array_map ( function ( \ SplFileInfo $ file ) { return $ file -> getPath ( ) ; } , $ paths ) ; return $ this -> createStandardsFromPaths ( $ paths ) ; }
docstring: Find and return PHPCodeSniffer standards.
  
  @param string $path
  
  @return Standards
  
  @SuppressWarnings(PHPMD.ShortMethodName)
docstring_tokens: Find and return PHPCodeSniffer standards .