src/ComponentFinder.php
protected function findFilesInProjectPath() : Collection
    {
        $excludes = collect(config('stats.exclude', []));

        $files = (new Finder)->files()
            ->in(config('stats.paths', []))
            ->name('*.php');

        return collect($files)
            ->reject(function ($file) use ($excludes) {
                return $this->isExcluded($file, $excludes);
            });
    }
protected function findFilesInProjectPath() : Collection
    {
        $excludes = collect(config('stats.exclude', []));

        $files = (new Finder)->files()
            ->in(config('stats.paths', []))
            ->name('*.php');

        return collect($files)
            ->reject(function ($file) use ($excludes) {
                return $this->isExcluded($file, $excludes);
            });
    }
protected function findFilesInProjectPath ( ) : Collection { $ excludes = collect ( config ( 'stats.exclude' , [ ] ) ) ; $ files = ( new Finder ) -> files ( ) -> in ( config ( 'stats.paths' , [ ] ) ) -> name ( '*.php' ) ; return collect ( $ files ) -> reject ( function ( $ file ) use ( $ excludes ) { return $ this -> isExcluded ( $ file , $ excludes ) ; } ) ; }
Find PHP Files which should be analyzed.

@return Collection
Find PHP Files which should be analyzed .