summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-08-19 19:41:46 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-19 19:41:46 +0200
commit1614dee6dc83c6ae069cc5fe0ffc47397a0f6355 (patch)
tree1a6153d80c581b6681f7005197a88271aa9701b8 /lib
parent1521da14ff292cb257f442a5f16c41b29faec337 (diff)
downloadnextcloud-server-1614dee6dc83c6ae069cc5fe0ffc47397a0f6355.tar.gz
nextcloud-server-1614dee6dc83c6ae069cc5fe0ffc47397a0f6355.zip
Codechecker: removed unused use
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/App/CodeChecker/CodeChecker.php2
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) {