aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/UpdaterTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 07:44:09 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 11:42:07 +0200
commit6d4731024a18b7497dc19eefa97393eae7a3617b (patch)
treeef70dba744dcf8fa79574b07a7627771f1c7f62e /apps/files_sharing/tests/UpdaterTest.php
parent989614f9d5faa11157b232785537eb5cca927649 (diff)
downloadnextcloud-server-6d4731024a18b7497dc19eefa97393eae7a3617b.tar.gz
nextcloud-server-6d4731024a18b7497dc19eefa97393eae7a3617b.zip
Some app fixes of phpstorm inspections
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/tests/UpdaterTest.php')
-rw-r--r--apps/files_sharing/tests/UpdaterTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php
index bb320336d48..c35bcf1a08c 100644
--- a/apps/files_sharing/tests/UpdaterTest.php
+++ b/apps/files_sharing/tests/UpdaterTest.php
@@ -69,7 +69,7 @@ class UpdaterTest extends TestCase {
* points should be unshared before the folder gets deleted so
* that the mount point doesn't end up at the trash bin
*/
- function testDeleteParentFolder() {
+ public function testDeleteParentFolder() {
$status = \OC_App::isEnabled('files_trashbin');
(new \OC_App())->enable('files_trashbin');
@@ -96,8 +96,8 @@ class UpdaterTest extends TestCase {
$foldersShared = \OCP\Share::getItemsSharedWith('folder');
$this->assertSame(1, count($foldersShared));
- $view->mkdir("localFolder");
- $view->file_put_contents("localFolder/localFile.txt", "local file");
+ $view->mkdir('localFolder');
+ $view->file_put_contents('localFolder/localFile.txt', 'local file');
$view->rename($this->folder, 'localFolder/' . $this->folder);
@@ -196,7 +196,7 @@ class UpdaterTest extends TestCase {
/**
* if a folder gets renamed all children mount points should be renamed too
*/
- function testRename() {
+ public function testRename() {
$fileinfo = \OC\Files\Filesystem::getFileInfo($this->folder);