Passed
Push — master ( cfa2d2...a2ecac )
by Robin
19:44 queued 06:06
created
apps/files_trashbin/lib/Storage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 			} catch (GenericEncryptionException $e) {
105 105
 				// in case of a encryption exception we delete the file right away
106 106
 				$this->logger->info(
107
-					"Can't move file " . $path .
107
+					"Can't move file ".$path.
108 108
 					" to the trash bin, therefore it was deleted right away");
109 109
 
110 110
 				return $this->storage->unlink($path);
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 	 * @return bool
138 138
 	 */
139 139
 	protected function shouldMoveToTrash($path) {
140
-		$normalized = Filesystem::normalizePath($this->mountPoint . '/' . $path);
140
+		$normalized = Filesystem::normalizePath($this->mountPoint.'/'.$path);
141 141
 		$parts = explode('/', $normalized);
142 142
 		if (count($parts) < 4 || strpos($normalized, '/appdata_') === 0) {
143 143
 			return false;
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 	 * Setup the storate wrapper callback
213 213
 	 */
214 214
 	public static function setupStorage() {
215
-		\OC\Files\Filesystem::addStorageWrapper('oc_trashbin', function ($mountPoint, $storage) {
215
+		\OC\Files\Filesystem::addStorageWrapper('oc_trashbin', function($mountPoint, $storage) {
216 216
 			return new \OCA\Files_Trashbin\Storage(
217 217
 				['storage' => $storage, 'mountPoint' => $mountPoint],
218 218
 				\OC::$server->query(ITrashManager::class),
Please login to merge, or discard this patch.