Permalink
Browse files

- Merge [874].

  • Loading branch information...
1 parent 5b3f2a5 commit e6c7aedefcdaed46e0f040be7ae7ce8e67246f3c @sebastianbergmann committed Jul 30, 2007
Showing with 4 additions and 4 deletions.
  1. +4 −4 PHPUnit/Util/Filter.php
View
8 PHPUnit/Util/Filter.php
@@ -122,7 +122,7 @@ class PHPUnit_Util_Filter
*/
public static function addDirectoryToFilter($directory, $suffix = '.php', $group = 'DEFAULT')
{
- foreach ($this->getIterator($directory, $suffix) as $file) {
+ foreach (self::getIterator($directory, $suffix) as $file) {
self::addFileToFilter($file->getPathName(), $group);
}
}
@@ -161,7 +161,7 @@ public static function addFileToFilter($filename, $group = 'DEFAULT')
*/
public static function removeDirectoryFromFilter($directory, $suffix = '.php', $group = 'DEFAULT')
{
- foreach ($this->getIterator($directory, $suffix) as $file) {
+ foreach (self::getIterator($directory, $suffix) as $file) {
self::removeFileFromFilter($file->getPathName(), $group);
}
}
@@ -199,7 +199,7 @@ public static function removeFileFromFilter($filename, $group = 'DEFAULT')
*/
public static function addDirectoryToWhitelist($directory, $suffix = '.php')
{
- foreach ($this->getIterator($directory, $suffix) as $file) {
+ foreach (self::getIterator($directory, $suffix) as $file) {
self::addFileToWhitelist($file->getPathName());
}
}
@@ -235,7 +235,7 @@ public static function addFileToWhitelist($filename)
*/
public static function removeDirectoryFromWhitelist($directory, $suffix = '.php')
{
- foreach ($this->getIterator($directory, $suffix) as $file) {
+ foreach (self::getIterator($directory, $suffix) as $file) {
self::removeFileFromWhitelist($file->getPathName());
}
}

0 comments on commit e6c7aed

Please sign in to comment.