diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-08-19 21:57:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-19 21:57:29 +0200 |
commit | 7a2ab39f451dce7c77cd531334639e3c86f04017 (patch) | |
tree | 1a6153d80c581b6681f7005197a88271aa9701b8 /lib | |
parent | 1521da14ff292cb257f442a5f16c41b29faec337 (diff) | |
parent | 1614dee6dc83c6ae069cc5fe0ffc47397a0f6355 (diff) | |
download | nextcloud-server-7a2ab39f451dce7c77cd531334639e3c86f04017.tar.gz nextcloud-server-7a2ab39f451dce7c77cd531334639e3c86f04017.zip |
Merge pull request #16796 from nextcloud/enh/phpstan/codechecker
Codechecker: removed unused use
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/App/CodeChecker/CodeChecker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/CodeChecker/CodeChecker.php b/lib/private/App/CodeChecker/CodeChecker.php index 8f539897c97..ba0cac3d765 100644 --- a/lib/private/App/CodeChecker/CodeChecker.php +++ b/lib/private/App/CodeChecker/CodeChecker.php @@ -92,7 +92,7 @@ class CodeChecker extends BasicEmitter { }, $excludedDirectories); $iterator = new RecursiveDirectoryIterator($folder, RecursiveDirectoryIterator::SKIP_DOTS); - $iterator = new RecursiveCallbackFilterIterator($iterator, function($item) use ($folder, $excludes){ + $iterator = new RecursiveCallbackFilterIterator($iterator, function($item) use ($excludes){ /** @var SplFileInfo $item */ foreach($excludes as $exclude) { if (substr($item->getPath(), 0, strlen($exclude)) === $exclude) { |