lib/private/Streamer.php
Method addDirRecursive
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function addDirRecursive($dir, $internalDir='') {
$dirname = \basename($dir);
$rootDir = $internalDir . $dirname;
if (!empty($rootDir)) {
$dirOpts = [