diff options
author | Joas Schilling <coding@schilljs.com> | 2023-10-23 15:25:14 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-10-23 15:25:14 +0200 |
commit | 3a265cee302e390da0f42f953040b22f667d109d (patch) | |
tree | 1005dd12491d02cf643743186a52435b3aad76eb /apps | |
parent | 834c9a209ebef7b8d5795b53a018577fe4e534ca (diff) | |
download | nextcloud-server-3a265cee302e390da0f42f953040b22f667d109d.tar.gz nextcloud-server-3a265cee302e390da0f42f953040b22f667d109d.zip |
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/dav/tests/integration/UserMigration/CalendarMigratorTest.php b/apps/dav/tests/integration/UserMigration/CalendarMigratorTest.php index 8c23a30e879..3efc5ab1473 100644 --- a/apps/dav/tests/integration/UserMigration/CalendarMigratorTest.php +++ b/apps/dav/tests/integration/UserMigration/CalendarMigratorTest.php @@ -26,7 +26,7 @@ declare(strict_types=1); namespace OCA\DAV\Tests\integration\UserMigration; -use function Safe\scandir; +use function scandir; use OCA\DAV\AppInfo\Application; use OCA\DAV\UserMigration\CalendarMigrator; use OCP\AppFramework\App; diff --git a/apps/dav/tests/integration/UserMigration/ContactsMigratorTest.php b/apps/dav/tests/integration/UserMigration/ContactsMigratorTest.php index 568b83396ba..3fa043df285 100644 --- a/apps/dav/tests/integration/UserMigration/ContactsMigratorTest.php +++ b/apps/dav/tests/integration/UserMigration/ContactsMigratorTest.php @@ -26,7 +26,7 @@ declare(strict_types=1); namespace OCA\DAV\Tests\integration\UserMigration; -use function Safe\scandir; +use function scandir; use OCA\DAV\AppInfo\Application; use OCA\DAV\UserMigration\ContactsMigrator; use OCP\AppFramework\App; diff --git a/apps/dav/tests/unit/CalDAV/AppCalendar/AppCalendarTest.php b/apps/dav/tests/unit/CalDAV/AppCalendar/AppCalendarTest.php index 78ebf8b67a4..b2a08bddb98 100644 --- a/apps/dav/tests/unit/CalDAV/AppCalendar/AppCalendarTest.php +++ b/apps/dav/tests/unit/CalDAV/AppCalendar/AppCalendarTest.php @@ -25,7 +25,7 @@ use OCP\Constants; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; -use function Safe\rewind; +use function rewind; class AppCalendarTest extends TestCase { private $principal = 'principals/users/foo'; @@ -35,7 +35,7 @@ class AppCalendarTest extends TestCase { private ICalendar|MockObject $calendar; private ICalendar|MockObject $writeableCalendar; - + protected function setUp(): void { parent::setUp(); @@ -115,7 +115,7 @@ class AppCalendarTest extends TestCase { 'principal' => $this->principal, 'protected' => true, ]; - + // Check that the correct ACL is returned (default be only readable) $this->assertEquals($expectedRO, $this->appCalendar->getACL()); $this->assertEquals($expectedRW, $this->writeableAppCalendar->getACL()); |