Permalink
Browse files

Fix finder date constraints and tests

  • Loading branch information...
1 parent e2ce316 commit 315d071a0129e6469c3213a06bb14c5e6ede5dbf @ruian ruian committed Oct 17, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −4 Iterator/DateRangeFilterIterator.php
  2. +0 −4 Tests/Iterator/DateRangeFilterIteratorTest.php
@@ -44,10 +44,6 @@ public function accept()
{
$fileinfo = $this->current();
- if (!$fileinfo->isFile()) {
- return true;
- }
-
$filedate = $fileinfo->getMTime();
foreach ($this->comparators as $compare) {
if (!$compare->test($filedate)) {
@@ -57,12 +57,8 @@ public function getAcceptData()
);
$untilLastMonth = array(
- '.git',
- 'foo',
'foo/bar.tmp',
'test.php',
- 'toto',
- '.foo',
);
return array(

0 comments on commit 315d071

Please sign in to comment.