src/main/php/CommandLine/Factories/BlacklistFactory.php
private function findGitDirectories() : array
    {
        $finderGit = $this->finderFactory->build();
        $finderGit->in($this->environment->getRootDirectory())->depth('> 0')->path('/.git$/');
        $rawExcludePathsByFileByGit = $this->finderToRealPathConverter->finderToArrayOfPaths($finderGit);
        return array_map('dirname', $rawExcludePathsByFileByGit);
    }
private function findGitDirectories() : array
    {
        $finderGit = $this->finderFactory->build();
        $finderGit->in($this->environment->getRootDirectory())->depth('> 0')->path('/.git$/');
        $rawExcludePathsByFileByGit = $this->finderToRealPathConverter->finderToArrayOfPaths($finderGit);
        return array_map('dirname', $rawExcludePathsByFileByGit);
    }
private function findGitDirectories ( ) : array { $ finderGit = $ this -> finderFactory -> build ( ) ; $ finderGit -> in ( $ this -> environment -> getRootDirectory ( ) ) -> depth ( '> 0' ) -> path ( '/.git$/' ) ; $ rawExcludePathsByFileByGit = $ this -> finderToRealPathConverter -> finderToArrayOfPaths ( $ finderGit ) ; return array_map ( 'dirname' , $ rawExcludePathsByFileByGit ) ; }
Finds submodules of in the project directory.

@return string[]
Finds submodules of in the project directory .