protected function setupFinder()
    {
        $finder = new Finder();
        $finder
            ->in($this->config->getIncludedPaths())
            ->notPath('/vendor/')
            ->files();
        foreach ($this->config->getExcludedPaths() as $excluded) {
            $finder->notPath($excluded);
        }

        return $finder;
    }
protected function setupFinder()
    {
        $finder = new Finder();
        $finder
            ->in($this->config->getIncludedPaths())
            ->notPath('/vendor/')
            ->files();
        foreach ($this->config->getExcludedPaths() as $excluded) {
            $finder->notPath($excluded);
        }

        return $finder;
    }
protected function setupFinder ( ) { $ finder = new Finder ( ) ; $ finder -> in ( $ this -> config -> getIncludedPaths ( ) ) -> notPath ( '/vendor/' ) -> files ( ) ; foreach ( $ this -> config -> getExcludedPaths ( ) as $ excluded ) { $ finder -> notPath ( $ excluded ) ; } return $ finder ; }
Setup the Symfony Finder.

@return Finder
Setup the Symfony Finder .