1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 15:16:16 +02:00

[ticket/16955] Update namespace for iterators to finder

PHPBB3-16955
This commit is contained in:
Marc Alexander 2023-01-02 22:10:50 +01:00
parent 4d6dbfb745
commit a366eb7f6c
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
7 changed files with 7 additions and 7 deletions

View File

@ -220,7 +220,7 @@ class acp_language
{
try
{
$iterator = new \phpbb\iterator\recursive_path_iterator($this->phpbb_root_path . 'language/' . $this->config['default_lang'] . '/');
$iterator = new \phpbb\finder\recursive_path_iterator($this->phpbb_root_path . 'language/' . $this->config['default_lang'] . '/');
}
catch (\Exception $e)
{

View File

@ -646,7 +646,7 @@ function phpbb_email_hash($email)
*/
function phpbb_load_extensions_autoloaders($phpbb_root_path)
{
$iterator = new \phpbb\iterator\recursive_path_iterator(
$iterator = new \phpbb\finder\recursive_path_iterator(
$phpbb_root_path . 'ext/',
\RecursiveIteratorIterator::SELF_FIRST,
\FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS

View File

@ -659,7 +659,7 @@ class md_exporter
{
try
{
$iterator = new \phpbb\iterator\recursive_path_iterator(
$iterator = new \phpbb\finder\recursive_path_iterator(
$dir,
\RecursiveIteratorIterator::SELF_FIRST
);

View File

@ -380,7 +380,7 @@ class manager
return $available;
}
$iterator = new \phpbb\iterator\recursive_path_iterator(
$iterator = new \phpbb\finder\recursive_path_iterator(
$this->phpbb_root_path . 'ext/',
\RecursiveIteratorIterator::SELF_FIRST,
\FilesystemIterator::NEW_CURRENT_AND_KEY | \FilesystemIterator::FOLLOW_SYMLINKS

View File

@ -486,7 +486,7 @@ class finder
if (is_dir($path))
{
$iterator = new \phpbb\iterator\recursive_path_iterator(
$iterator = new \phpbb\finder\recursive_path_iterator(
$path,
\RecursiveIteratorIterator::SELF_FIRST
);

View File

@ -11,7 +11,7 @@
*
*/
namespace phpbb\iterator;
namespace phpbb\finder;
/**
* Class recursive_dot_prefix_filter_iterator

View File

@ -13,7 +13,7 @@
declare(strict_types=1);
namespace phpbb\iterator;
namespace phpbb\finder;
class recursive_path_iterator extends \RecursiveIteratorIterator
{