Closed phing-issues-importer closed 6 years ago
Trac update at 20110325T09:23:04: mrook changed milestone from "TBD" to "2.5.0"
Trac update at 20110627T18:57:09: mp commented:
A good place to start could be the way FileSets are handled... there is a recurring pattern all over the place that looks like
// $fs is a FileSet $fromDir = $fs->getDir($this->project); $ds = $fs->getDirectoryScanner($this->project); foreach ($ds->getIncludedFiles() as $srcFile) { $pf = new PhingFile($fromDir, $srcFile) ...
that could just read
foreach ($pf in $fs) { ...
I don't know whether there is a need at all to access the excludedFile from the directory scanner? When it comes to processing files and directories separately (which I've seen in a few places), PhingFile also supports isFile()/isDirectory().
Trac update at 20110627T18:57:30: mp changed cc from "" to "mp@webfactory.de"
Trac update at 20150909T10:05:38: Michiel Rook commented:
Refs #531 - merge IterableFileSet / FileSet Changeset: 3f340ce00d41432545cad5892fd7ebc5fdf56bcf
Trac update at 20150909T10:05:41: Michiel Rook commented:
Refs #531 - merge IterableFileSet / FileSet Changeset: 3f340ce00d41432545cad5892fd7ebc5fdf56bcf
Trac update at 20161005T20:49:11: Michiel Rook commented:
Refs #531 - merge IterableFileSet / FileSet Changeset: 3f340ce00d41432545cad5892fd7ebc5fdf56bcf
Trac update at 20161005T20:49:13: Michiel Rook commented:
Refs #531 - merge IterableFileSet / FileSet Changeset: 3f340ce00d41432545cad5892fd7ebc5fdf56bcf
Trac update at 20161007T08:28:55:
Milestone renamed
- mrook changed milestone from "3.0" to "4.0"
Integrate [http://ru.php.net/manual/en/book.spl.php SPL] features (Iterator, ArrayAccess...) to Phing, as [http://phing.tigris.org/servlets/ReadMsg?list=dev&msgNo=782 discussed].
Migrated from https://www.phing.info/trac/ticket/281