Codechecker: removed unused use
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
1521da14ff
commit
1614dee6dc
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue