Permalink
Browse files

- Merge [5058].

  • Loading branch information...
1 parent 4cd5d8a commit 60e7ab0392ee56cf27337649fadd12db41811d00 @sebastianbergmann committed Aug 2, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 PHPUnit/Util/FilterIterator.php
@@ -118,7 +118,10 @@ public function accept()
{
$filename = $this->getInnerIterator()->current()->getFilename();
- if (strpos($filename, '.') === 0) {
+ if (strpos($filename, '.') === 0 ||
+ preg_match(
+ '=/\.[^/]*/=',
+ $this->getInnerIterator()->current()->getPathname())) {
return FALSE;
}

0 comments on commit 60e7ab0

Please sign in to comment.