private function getExcludePaths(): array
    {
        $excludePaths = [];

        foreach ($this->excludePaths as $path) {
            $path = str_replace('*', '.*', $path);
            $excludePaths[] = '#' . str_replace($this->rootDirectory . '/', '', $path) . '#';
        }

        return $excludePaths;
    }
private function getExcludePaths(): array
    {
        $excludePaths = [];

        foreach ($this->excludePaths as $path) {
            $path = str_replace('*', '.*', $path);
            $excludePaths[] = '#' . str_replace($this->rootDirectory . '/', '', $path) . '#';
        }

        return $excludePaths;
    }
private function getExcludePaths ( ) : array { $ excludePaths = [ ] ; foreach ( $ this -> excludePaths as $ path ) { $ path = str_replace ( '*' , '.*' , $ path ) ; $ excludePaths [ ] = '#' . str_replace ( $ this -> rootDirectory . '/' , '' , $ path ) . '#' ; } return $ excludePaths ; }
Returns the list of excluded paths
Returns the list of excluded paths