diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 10:22:29 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 11:16:08 +0300 |
commit | 2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch) | |
tree | a3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /apps/files_sharing | |
parent | 1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff) |
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_sharing')
4 files changed, 16 insertions, 16 deletions
diff --git a/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php b/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php index 4f0b547e433..63a67bb5b48 100644 --- a/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php +++ b/apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php @@ -136,7 +136,7 @@ class SharingCheckMiddleware extends Middleware { } if (!$this->reflector->hasAnnotation('NoOutgoingFederatedSharingRequired') && - $this->config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes') !== 'yes') { + $this->config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes') !== 'yes') { return false; } diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 6e9bad0a9d2..5c462b51aa6 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -112,7 +112,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); <div> <?php echo $l->t('By uploading files, you agree to the %1$sterms of service%2$s.', [ - '<span id="show-terms-dialog">', '</span>' + '<span id="show-terms-dialog">', '</span>' ]); ?> </div> diff --git a/apps/files_sharing/tests/CacheTest.php b/apps/files_sharing/tests/CacheTest.php index c5ce0107f80..94e5504aece 100644 --- a/apps/files_sharing/tests/CacheTest.php +++ b/apps/files_sharing/tests/CacheTest.php @@ -227,19 +227,19 @@ class CacheTest extends TestCase { function testSearchByMime() { $results = $this->sharedStorage->getCache()->searchByMime('text'); $check = [ - [ - 'name' => 'bar.txt', - 'path' => 'bar.txt' - ], - [ - 'name' => 'another too.txt', - 'path' => 'subdir/another too.txt' - ], - [ - 'name' => 'another.txt', - 'path' => 'subdir/another.txt' - ], - ]; + [ + 'name' => 'bar.txt', + 'path' => 'bar.txt' + ], + [ + 'name' => 'another too.txt', + 'path' => 'subdir/another too.txt' + ], + [ + 'name' => 'another.txt', + 'path' => 'subdir/another.txt' + ], + ]; $this->verifyFiles($check, $results); } diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php index c2d4c7641e4..3f82675fedf 100644 --- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php @@ -4085,7 +4085,7 @@ class ShareAPIControllerTest extends TestCase { $recipientGroup = $this->createMock('\OCP\IGroup'); $recipientGroup->method('getDisplayName')->willReturn('recipientGroupDisplayName'); $this->groupManager->method('get')->willReturnMap([ - ['recipientGroup', $recipientGroup], + ['recipientGroup', $recipientGroup], ]); $this->urlGenerator->method('linkToRouteAbsolute') |