Code Duplication    Length = 5-5 lines in 2 locations

lib/private/IntegrityCheck/Checker.php 2 locations

@@ 378-382 (lines=5) @@
375
		$differenceArray = [];
376
		foreach($differences as $filename => $hash) {
377
			// Check if file should not exist in the new signature table
378
			if(!array_key_exists($filename, $expectedHashes)) {
379
				$differenceArray['EXTRA_FILE'][$filename]['expected'] = '';
380
				$differenceArray['EXTRA_FILE'][$filename]['current'] = $hash;
381
				continue;
382
			}
383
384
			// Check if file is missing
385
			if(!array_key_exists($filename, $currentInstanceHashes)) {
@@ 385-389 (lines=5) @@
382
			}
383
384
			// Check if file is missing
385
			if(!array_key_exists($filename, $currentInstanceHashes)) {
386
				$differenceArray['FILE_MISSING'][$filename]['expected'] = $expectedHashes[$filename];
387
				$differenceArray['FILE_MISSING'][$filename]['current'] = '';
388
				continue;
389
			}
390
391
			// Check if hash does mismatch
392
			if($expectedHashes[$filename] !== $currentInstanceHashes[$filename]) {