src/Robo/Filesets/Filesets.php
protected function getPhpFilesetFinder() {
    $finder = new Finder();
    $finder
      ->files()
      ->name("*.inc")
      ->name("*.install")
      ->name("*.module")
      ->name("*.php")
      ->name("*.profile")
      ->name("*.test")
      ->name("*.theme")
      // Behat php files are ignored because method names and comments do not
      // conform to Drupal coding standards by default.
      ->notPath('behat')
      ->notPath('node_modules')
      ->notPath('vendor');
    return $finder;
  }
protected function getPhpFilesetFinder() {
    $finder = new Finder();
    $finder
      ->files()
      ->name("*.inc")
      ->name("*.install")
      ->name("*.module")
      ->name("*.php")
      ->name("*.profile")
      ->name("*.test")
      ->name("*.theme")
      // Behat php files are ignored because method names and comments do not
      // conform to Drupal coding standards by default.
      ->notPath('behat')
      ->notPath('node_modules')
      ->notPath('vendor');
    return $finder;
  }
protected function getPhpFilesetFinder ( ) { $ finder = new Finder ( ) ; $ finder -> files ( ) -> name ( "*.inc" ) -> name ( "*.install" ) -> name ( "*.module" ) -> name ( "*.php" ) -> name ( "*.profile" ) -> name ( "*.test" ) -> name ( "*.theme" ) // Behat php files are ignored because method names and comments do not // conform to Drupal coding standards by default. -> notPath ( 'behat' ) -> notPath ( 'node_modules' ) -> notPath ( 'vendor' ) ; return $ finder ; }
Adds Drupalistic PHP patterns to a Symfony finder object.

@return \Symfony\Component\Finder\Finder
The finder object.
Adds Drupalistic PHP patterns to a Symfony finder object .