Skip to content

Commit 7c67df6

Browse files
Merge pull request #48891 from nextcloud/enh/noid/testing-namespace
[RFC] Setting NCU\ for unstable/work-in-progress API
2 parents a3be6ce + 0f6ef85 commit 7c67df6

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"": "lib/private/legacy",
2020
"OC\\": "lib/private",
2121
"OC\\Core\\": "core/",
22-
"OCP\\": "lib/public"
22+
"OCP\\": "lib/public",
23+
"NCU\\": "lib/unstable"
2324
}
2425
},
2526
"require": {

lib/composer/composer/autoload_psr4.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
'OC\\Core\\' => array($baseDir . '/core'),
1010
'OC\\' => array($baseDir . '/lib/private'),
1111
'OCP\\' => array($baseDir . '/lib/public'),
12+
'NCU\\' => array($baseDir . '/lib/unstable'),
1213
'' => array($baseDir . '/lib/private/legacy'),
1314
);

lib/composer/composer/autoload_static.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
1717
'OC\\' => 3,
1818
'OCP\\' => 4,
1919
),
20+
'N' =>
21+
array (
22+
'NCU\\' => 4,
23+
),
2024
);
2125

2226
public static $prefixDirsPsr4 = array (
@@ -32,6 +36,10 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
3236
array (
3337
0 => __DIR__ . '/../../..' . '/lib/public',
3438
),
39+
'NCU\\' =>
40+
array (
41+
0 => __DIR__ . '/../../..' . '/lib/unstable',
42+
),
3543
);
3644

3745
public static $fallbackDirsPsr4 = array (

lib/unstable/.gitkeep

Whitespace-only changes.

psalm-ocp.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
</plugins>
2020
<projectFiles>
2121
<directory name="lib/public"/>
22+
<directory name="lib/unstable"/>
2223
<ignoreFiles>
2324
<directory name="lib/composer/bin"/>
2425
</ignoreFiles>

0 commit comments

Comments
 (0)