classes/phing/tasks/ext/coverage/CoverageSetupTask.php
private function getFilenames()
    {
        $files = [];

        foreach ($this->filelists as $fl) {
            try {
                $list = $fl->getFiles($this->project);
                foreach ($list as $file) {
                    $fs = new PhingFile((string) $fl->getDir($this->project), $file);
                    $files[] = ['key' => strtolower($fs->getAbsolutePath()), 'fullname' => $fs->getAbsolutePath()];
                }
            } catch (BuildException $be) {
                $this->log($be->getMessage(), Project::MSG_WARN);
            }
        }

        foreach ($this->filesets as $fileset) {
            $ds = $fileset->getDirectoryScanner($this->project);
            $ds->scan();

            $includedFiles = $ds->getIncludedFiles();

            foreach ($includedFiles as $file) {
                $fs = new PhingFile(realpath($ds->getBaseDir()), $file);

                $files[] = ['key' => strtolower($fs->getAbsolutePath()), 'fullname' => $fs->getAbsolutePath()];
            }
        }

        return $files;
    }
private function getFilenames()
    {
        $files = [];

        foreach ($this->filelists as $fl) {
            try {
                $list = $fl->getFiles($this->project);
                foreach ($list as $file) {
                    $fs = new PhingFile((string) $fl->getDir($this->project), $file);
                    $files[] = ['key' => strtolower($fs->getAbsolutePath()), 'fullname' => $fs->getAbsolutePath()];
                }
            } catch (BuildException $be) {
                $this->log($be->getMessage(), Project::MSG_WARN);
            }
        }

        foreach ($this->filesets as $fileset) {
            $ds = $fileset->getDirectoryScanner($this->project);
            $ds->scan();

            $includedFiles = $ds->getIncludedFiles();

            foreach ($includedFiles as $file) {
                $fs = new PhingFile(realpath($ds->getBaseDir()), $file);

                $files[] = ['key' => strtolower($fs->getAbsolutePath()), 'fullname' => $fs->getAbsolutePath()];
            }
        }

        return $files;
    }
private function getFilenames ( ) { $ files = [ ] ; foreach ( $ this -> filelists as $ fl ) { try { $ list = $ fl -> getFiles ( $ this -> project ) ; foreach ( $ list as $ file ) { $ fs = new PhingFile ( ( string ) $ fl -> getDir ( $ this -> project ) , $ file ) ; $ files [ ] = [ 'key' => strtolower ( $ fs -> getAbsolutePath ( ) ) , 'fullname' => $ fs -> getAbsolutePath ( ) ] ; } } catch ( BuildException $ be ) { $ this -> log ( $ be -> getMessage ( ) , Project :: MSG_WARN ) ; } } foreach ( $ this -> filesets as $ fileset ) { $ ds = $ fileset -> getDirectoryScanner ( $ this -> project ) ; $ ds -> scan ( ) ; $ includedFiles = $ ds -> getIncludedFiles ( ) ; foreach ( $ includedFiles as $ file ) { $ fs = new PhingFile ( realpath ( $ ds -> getBaseDir ( ) ) , $ file ) ; $ files [ ] = [ 'key' => strtolower ( $ fs -> getAbsolutePath ( ) ) , 'fullname' => $ fs -> getAbsolutePath ( ) ] ; } } return $ files ; }
Iterate over all filesets and return the filename of all files.

@return array an array of (basedir, filenames) pairs
Iterate over all filesets and return the filename of all files .