Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Merge [5058].

  • Loading branch information...
commit 60e7ab0392ee56cf27337649fadd12db41811d00 1 parent 4cd5d8a
@sebastianbergmann authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 PHPUnit/Util/FilterIterator.php
View
5 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.
Something went wrong with that request. Please try again.