Skip to content

Commit d9c4cf5

Browse files
Merge pull request #87 from nextcloud-libraries/bugfix/noid/fix-import-namespace
2 parents b8b0eb4 + 0c1bbd0 commit d9c4cf5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

config/nextcloud-33/nextcloud-33-deprecations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[
1919
new ReplaceInjectedMethodCall(
2020
'OCP\IConfig',
21-
'OCP\IUserConfig',
21+
'OCP\Config\IUserConfig',
2222
'userConfig',
2323
[
2424
'getAllUserValues' => 'getAllValues',

tests/Set/Nextcloud33/Fixture/test_fixture.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use OCP\IConfig;
4141

4242
class SomeClass
4343
{
44-
public function __construct(private IConfig $config, private \OCP\IUserConfig $userConfig)
44+
public function __construct(private IConfig $config, private \OCP\Config\IUserConfig $userConfig)
4545
{
4646
}
4747

tests/Set/Nextcloud33/Fixture/test_fixture_double.php.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Nextcloud\Rector\Test\Set\Nextcloud33\Fixture;
99

1010
use OCP\IConfig;
11-
use OCP\IUserConfig;
11+
use OCP\Config\IUserConfig;
1212

1313
class SomeClass
1414
{
@@ -39,7 +39,7 @@ class SomeClass
3939
namespace Nextcloud\Rector\Test\Set\Nextcloud33\Fixture;
4040

4141
use OCP\IConfig;
42-
use OCP\IUserConfig;
42+
use OCP\Config\IUserConfig;
4343

4444
class SomeClass
4545
{

0 commit comments

Comments
 (0)