protected function getGlobPaths($path)
    {
        $paths = [];
        $iterator = new \GlobIterator($path);

        foreach ($iterator as $fileInfo) {
            /* @var $fileInfo \SplFileInfo */
            $paths[] = $fileInfo->getPathname();
        }

        // validate
        if (count($paths) === 0) {
            throw new InvalidConfigurationException("coverage_clover XML file is not readable: ${path}");
        }

        return $paths;
    }
protected function getGlobPaths($path)
    {
        $paths = [];
        $iterator = new \GlobIterator($path);

        foreach ($iterator as $fileInfo) {
            /* @var $fileInfo \SplFileInfo */
            $paths[] = $fileInfo->getPathname();
        }

        // validate
        if (count($paths) === 0) {
            throw new InvalidConfigurationException("coverage_clover XML file is not readable: ${path}");
        }

        return $paths;
    }
protected function getGlobPaths ( $ path ) { $ paths = [ ] ; $ iterator = new \ GlobIterator ( $ path ) ; foreach ( $ iterator as $ fileInfo ) { /* @var $fileInfo \SplFileInfo */ $ paths [ ] = $ fileInfo -> getPathname ( ) ; } // validate if ( count ( $ paths ) === 0 ) { throw new InvalidConfigurationException ( "coverage_clover XML file is not readable: ${path}" ) ; } return $ paths ; }
Return absolute paths from glob path.

@param string $path absolute path

@throws \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException

@return string[] absolute paths
Return absolute paths from glob path .