diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-02-18 14:05:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 14:05:54 +0100 |
commit | 5026d2cca10fa65be68367002eff147d7dc71077 (patch) | |
tree | d4d7119b0b8f547aebcc857c5297fc52ccc5a4b3 /apps/files_sharing/tests/PermissionsTest.php | |
parent | bbb39cf3deb350738a28b5f5bdf40572f1406897 (diff) | |
parent | eb502c02ff7693bb36318d857985f79e7bac370c (diff) | |
download | nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.tar.gz nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.zip |
Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Diffstat (limited to 'apps/files_sharing/tests/PermissionsTest.php')
-rw-r--r-- | apps/files_sharing/tests/PermissionsTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/PermissionsTest.php b/apps/files_sharing/tests/PermissionsTest.php index 6d3dabd609f..462a73f09d2 100644 --- a/apps/files_sharing/tests/PermissionsTest.php +++ b/apps/files_sharing/tests/PermissionsTest.php @@ -76,7 +76,7 @@ class PermissionsTest extends TestCase { $this->view->file_put_contents('container/shareddir/textfile.txt', $textData); $this->view->file_put_contents('container/shareddirrestricted/textfile1.txt', $textData); - list($this->ownerStorage, $internalPath) = $this->view->resolvePath(''); + [$this->ownerStorage, $internalPath] = $this->view->resolvePath(''); $this->ownerCache = $this->ownerStorage->getCache(); $this->ownerStorage->getScanner()->scan(''); @@ -110,8 +110,8 @@ class PermissionsTest extends TestCase { // retrieve the shared storage $this->secondView = new \OC\Files\View('/' . self::TEST_FILES_SHARING_API_USER2); - list($this->sharedStorage, $internalPath) = $this->secondView->resolvePath('files/shareddir'); - list($this->sharedStorageRestrictedShare, $internalPath) = $this->secondView->resolvePath('files/shareddirrestricted'); + [$this->sharedStorage, $internalPath] = $this->secondView->resolvePath('files/shareddir'); + [$this->sharedStorageRestrictedShare, $internalPath] = $this->secondView->resolvePath('files/shareddirrestricted'); $this->sharedCache = $this->sharedStorage->getCache(); $this->sharedCacheRestrictedShare = $this->sharedStorageRestrictedShare->getCache(); } |