Passed
Push — master ( c5dc9b...fc7f04 )
by Morris
29:58 queued 19:19
created
lib/private/Repair/NC16/CleanupCardDAVPhotoCache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 			return;
68 68
 		}
69 69
 
70
-		$folders = array_filter($folders, function (ISimpleFolder $folder) {
70
+		$folders = array_filter($folders, function(ISimpleFolder $folder) {
71 71
 			return $folder->fileExists('photo.');
72 72
 		});
73 73
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 			return;
76 76
 		}
77 77
 
78
-		$output->info('Delete ' . count($folders) . ' "photo." files');
78
+		$output->info('Delete '.count($folders).' "photo." files');
79 79
 
80 80
 		foreach ($folders as $folder) {
81 81
 			try {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 				$folder->getFile('photo.')->delete();
84 84
 			} catch (\Exception $e) {
85 85
 				$this->logger->logException($e);
86
-				$output->warning('Could not delete file "dav-photocache/' . $folder->getName() . '/photo."');
86
+				$output->warning('Could not delete file "dav-photocache/'.$folder->getName().'/photo."');
87 87
 			}
88 88
 		}
89 89
 	}
Please login to merge, or discard this patch.