src/main/php/CommandLine/FileFinders/AllCheckableFileFinder.php
public function findFiles(
        string $filter = '',
        string $blacklistToken = '',
        string $whitelistToken = '',
        $targetBranch = ''
    ) : GitChangeSet {
        $filesFromGit = explode("\n", trim($this->processRunner->runAsProcess('git', 'ls-files')));
        $gitChangeSet = $this->gitChangeSetFactory->build($filesFromGit, '');

        $this->gitChangeSetFilter->filter($gitChangeSet, $filter, $blacklistToken);

        return $gitChangeSet;
    }
public function findFiles(
        string $filter = '',
        string $blacklistToken = '',
        string $whitelistToken = '',
        $targetBranch = ''
    ) : GitChangeSet {
        $filesFromGit = explode("\n", trim($this->processRunner->runAsProcess('git', 'ls-files')));
        $gitChangeSet = $this->gitChangeSetFactory->build($filesFromGit, '');

        $this->gitChangeSetFilter->filter($gitChangeSet, $filter, $blacklistToken);

        return $gitChangeSet;
    }
public function findFiles ( string $ filter = '' , string $ blacklistToken = '' , string $ whitelistToken = '' , $ targetBranch = '' ) : GitChangeSet { $ filesFromGit = explode ( "\n" , trim ( $ this -> processRunner -> runAsProcess ( 'git' , 'ls-files' ) ) ) ; $ gitChangeSet = $ this -> gitChangeSetFactory -> build ( $ filesFromGit , '' ) ; $ this -> gitChangeSetFilter -> filter ( $ gitChangeSet , $ filter , $ blacklistToken ) ; return $ gitChangeSet ; }
This function finds all files to check.

@param string       $filter
@param string       $blacklistToken
@param string       $whitelistToken
@param string|false $targetBranch

@return GitChangeSet
This function finds all files to check .