File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
integration/UserMigration
lib/private/Profile/Actions Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2626
2727namespace OCA \DAV \Tests \integration \UserMigration ;
2828
29- use function Safe \ scandir ;
29+ use function scandir ;
3030use OCA \DAV \AppInfo \Application ;
3131use OCA \DAV \UserMigration \CalendarMigrator ;
3232use OCP \AppFramework \App ;
Original file line number Diff line number Diff line change 2626
2727namespace OCA \DAV \Tests \integration \UserMigration ;
2828
29- use function Safe \ scandir ;
29+ use function scandir ;
3030use OCA \DAV \AppInfo \Application ;
3131use OCA \DAV \UserMigration \ContactsMigrator ;
3232use OCP \AppFramework \App ;
Original file line number Diff line number Diff line change 2525use PHPUnit \Framework \MockObject \MockObject ;
2626use Test \TestCase ;
2727
28- use function Safe \ rewind ;
28+ use function rewind ;
2929
3030class AppCalendarTest extends TestCase {
3131 private $ principal = 'principals/users/foo ' ;
@@ -35,7 +35,7 @@ class AppCalendarTest extends TestCase {
3535
3636 private ICalendar |MockObject $ calendar ;
3737 private ICalendar |MockObject $ writeableCalendar ;
38-
38+
3939 protected function setUp (): void {
4040 parent ::setUp ();
4141
@@ -115,7 +115,7 @@ public function testGetACL():void {
115115 'principal ' => $ this ->principal ,
116116 'protected ' => true ,
117117 ];
118-
118+
119119 // Check that the correct ACL is returned (default be only readable)
120120 $ this ->assertEquals ($ expectedRO , $ this ->appCalendar ->getACL ());
121121 $ this ->assertEquals ($ expectedRW , $ this ->writeableAppCalendar ->getACL ());
Original file line number Diff line number Diff line change 2626
2727namespace OC \Core \Db ;
2828
29- use function Safe \ json_decode ;
30- use function Safe \ json_encode ;
29+ use function json_decode ;
30+ use function json_encode ;
3131use \JsonSerializable ;
3232use OCP \AppFramework \Db \Entity ;
3333use OCP \Profile \ParameterDoesNotExistException ;
Original file line number Diff line number Diff line change 2626
2727namespace OC \Profile \Actions ;
2828
29- use function Safe \ substr ;
29+ use function substr ;
3030use OCP \Accounts \IAccountManager ;
3131use OCP \IURLGenerator ;
3232use OCP \IUser ;
Original file line number Diff line number Diff line change 2626
2727namespace OC \Profile \Actions ;
2828
29- use function Safe \ substr ;
29+ use function substr ;
3030use OCP \Accounts \IAccountManager ;
3131use OCP \IURLGenerator ;
3232use OCP \IUser ;
You can’t perform that action at this time.
0 commit comments