summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-08-19 21:57:29 +0200
committerGitHub <noreply@github.com>2019-08-19 21:57:29 +0200
commit7a2ab39f451dce7c77cd531334639e3c86f04017 (patch)
tree1a6153d80c581b6681f7005197a88271aa9701b8 /lib
parent1521da14ff292cb257f442a5f16c41b29faec337 (diff)
parent1614dee6dc83c6ae069cc5fe0ffc47397a0f6355 (diff)
downloadnextcloud-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.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) {