aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-05-15 08:48:13 +0200
committerJoas Schilling <coding@schilljs.com>2025-05-15 08:48:13 +0200
commit5f9117b9391f970d3acce3f0e6c0ddc5d1c9b626 (patch)
tree1295a1f573095d6011c456f23a98a471eba3543b /tests/lib/Files
parent57a49a50aa769450436f4ba617423848a9beaa0e (diff)
downloadnextcloud-server-ci/noid/update-phpunit10.tar.gz
nextcloud-server-ci/noid/update-phpunit10.zip
test: Fix coding standardsci/noid/update-phpunit10
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Files')
-rw-r--r--tests/lib/Files/Node/NodeTestCase.php2
-rw-r--r--tests/lib/Files/ObjectStore/ObjectStoreTestCase.php2
-rw-r--r--tests/lib/Files/Stream/EncryptionTest.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Files/Node/NodeTestCase.php b/tests/lib/Files/Node/NodeTestCase.php
index 255e5fd50d2..a2b8a3ddffe 100644
--- a/tests/lib/Files/Node/NodeTestCase.php
+++ b/tests/lib/Files/Node/NodeTestCase.php
@@ -9,6 +9,7 @@ namespace Test\Files\Node;
use OC\Files\FileInfo;
use OC\Files\Mount\Manager;
+use OC\Files\Node\Root;
use OC\Files\View;
use OC\Memcache\ArrayCache;
use OCP\EventDispatcher\IEventDispatcher;
@@ -21,7 +22,6 @@ use OCP\ICacheFactory;
use OCP\IUser;
use OCP\IUserManager;
use Psr\Log\LoggerInterface;
-use OC\Files\Node\Root;
/**
* Class NodeTest
diff --git a/tests/lib/Files/ObjectStore/ObjectStoreTestCase.php b/tests/lib/Files/ObjectStore/ObjectStoreTestCase.php
index 71c9eb7d6d8..ecbfd9a37e6 100644
--- a/tests/lib/Files/ObjectStore/ObjectStoreTestCase.php
+++ b/tests/lib/Files/ObjectStore/ObjectStoreTestCase.php
@@ -13,7 +13,7 @@ abstract class ObjectStoreTestCase extends TestCase {
/** @var string[] */
private $cleanup = [];
- private $instance = nulL;
+ private $instance = null;
/**
* @return \OCP\Files\ObjectStore\IObjectStore
diff --git a/tests/lib/Files/Stream/EncryptionTest.php b/tests/lib/Files/Stream/EncryptionTest.php
index f51a6d3cb4e..c676358ad71 100644
--- a/tests/lib/Files/Stream/EncryptionTest.php
+++ b/tests/lib/Files/Stream/EncryptionTest.php
@@ -10,9 +10,11 @@ declare(strict_types=1);
namespace Test\Files\Stream;
use OC\Encryption\File;
+use OC\Encryption\Util;
use OC\Files\Cache\CacheEntry;
use OC\Files\Storage\Storage;
use OC\Files\Storage\Wrapper\Wrapper;
+use OC\Files\Stream\Encryption;
use OC\Files\View;
use OC\Memcache\ArrayCache;
use OCP\Encryption\IEncryptionModule;
@@ -22,8 +24,6 @@ use OCP\ICacheFactory;
use OCP\IConfig;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
-use OC\Files\Stream\Encryption;
-use OC\Encryption\Util;
class EncryptionTest extends \Test\TestCase {
public const DEFAULT_WRAPPER = '\OC\Files\Stream\Encryption';