Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 22:52:10 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 22:52:10 +0300
commit68748d4f85dd23238aaafb787b1c341f0f2f0419 (patch)
tree7aab3a925dda8dcd6ef4e8c6fe04063abbadd6af /apps/files_versions/tests
parent21119633041d5ccae19975a58b0ae50ef5a8e33a (diff)
Some php-cs fixes
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_versions/tests')
-rw-r--r--apps/files_versions/tests/Command/CleanupTest.php5
-rw-r--r--apps/files_versions/tests/ExpirationTest.php2
2 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_versions/tests/Command/CleanupTest.php b/apps/files_versions/tests/Command/CleanupTest.php
index 289c7123c24..48720d2fbcc 100644
--- a/apps/files_versions/tests/Command/CleanupTest.php
+++ b/apps/files_versions/tests/Command/CleanupTest.php
@@ -22,14 +22,13 @@
*
*/
-
namespace OCA\Files_Versions\Tests\Command;
-use OCA\Files_Versions\Command\CleanUp;
-use Test\TestCase;
use OC\User\Manager;
+use OCA\Files_Versions\Command\CleanUp;
use OCP\Files\IRootFolder;
+use Test\TestCase;
/**
* Class CleanupTest
diff --git a/apps/files_versions/tests/ExpirationTest.php b/apps/files_versions/tests/ExpirationTest.php
index a7c34b7ac70..3502132b2f2 100644
--- a/apps/files_versions/tests/ExpirationTest.php
+++ b/apps/files_versions/tests/ExpirationTest.php
@@ -24,7 +24,7 @@
namespace OCA\Files_Versions\Tests;
-use \OCA\Files_Versions\Expiration;
+use OCA\Files_Versions\Expiration;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IConfig;
use PHPUnit\Framework\MockObject\MockObject;