From 4f1db5a8cab996f8617586fc457826a01ca667e8 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 2 May 2024 20:12:38 +0200 Subject: [PATCH] test: avoid deprecation warning "Creation of dynamic property LockFeatureTest::$shareManager is deprecate" Signed-off-by: Daniel Kesselberg --- tests/Feature/LockFeatureTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Feature/LockFeatureTest.php b/tests/Feature/LockFeatureTest.php index 37706d95..7616b872 100644 --- a/tests/Feature/LockFeatureTest.php +++ b/tests/Feature/LockFeatureTest.php @@ -30,6 +30,7 @@ use OCP\Files\Lock\ILockManager; use OCP\Files\Lock\LockContext; use OCP\Lock\ManuallyLockedException; +use OCP\Share\IManager as IShareManager; use OCP\Share\IShare; use Test\TestCase; use Test\Util\User\Dummy; @@ -43,6 +44,8 @@ class LockFeatureTest extends TestCase { private LockManager $lockManager; private IRootFolder $rootFolder; + private ITimeFactory $timeFactory; + private IShareManager $shareManager; private ?int $time = null; public static function setUpBeforeClass(): void {