aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json3
-rw-r--r--lib/composer/composer/autoload_psr4.php1
-rw-r--r--lib/composer/composer/autoload_static.php8
-rw-r--r--lib/unstable/.gitkeep0
-rw-r--r--psalm-ocp.xml1
5 files changed, 12 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 5912a81f987..f11ced48b67 100644
--- a/composer.json
+++ b/composer.json
@@ -19,7 +19,8 @@
"": "lib/private/legacy",
"OC\\": "lib/private",
"OC\\Core\\": "core/",
- "OCP\\": "lib/public"
+ "OCP\\": "lib/public",
+ "NCU\\": "lib/unstable"
}
},
"require": {
diff --git a/lib/composer/composer/autoload_psr4.php b/lib/composer/composer/autoload_psr4.php
index 74e48cf69ae..b07b2c0074b 100644
--- a/lib/composer/composer/autoload_psr4.php
+++ b/lib/composer/composer/autoload_psr4.php
@@ -9,5 +9,6 @@ return array(
'OC\\Core\\' => array($baseDir . '/core'),
'OC\\' => array($baseDir . '/lib/private'),
'OCP\\' => array($baseDir . '/lib/public'),
+ 'NCU\\' => array($baseDir . '/lib/unstable'),
'' => array($baseDir . '/lib/private/legacy'),
);
diff --git a/lib/composer/composer/autoload_static.php b/lib/composer/composer/autoload_static.php
index 4bac34425ac..3fc72c2b6e4 100644
--- a/lib/composer/composer/autoload_static.php
+++ b/lib/composer/composer/autoload_static.php
@@ -17,6 +17,10 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
'OC\\' => 3,
'OCP\\' => 4,
),
+ 'N' =>
+ array (
+ 'NCU\\' => 4,
+ ),
);
public static $prefixDirsPsr4 = array (
@@ -32,6 +36,10 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
array (
0 => __DIR__ . '/../../..' . '/lib/public',
),
+ 'NCU\\' =>
+ array (
+ 0 => __DIR__ . '/../../..' . '/lib/unstable',
+ ),
);
public static $fallbackDirsPsr4 = array (
diff --git a/lib/unstable/.gitkeep b/lib/unstable/.gitkeep
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/lib/unstable/.gitkeep
diff --git a/psalm-ocp.xml b/psalm-ocp.xml
index e49f7fd929b..de4741aa2dd 100644
--- a/psalm-ocp.xml
+++ b/psalm-ocp.xml
@@ -19,6 +19,7 @@
</plugins>
<projectFiles>
<directory name="lib/public"/>
+ <directory name="lib/unstable"/>
<ignoreFiles>
<directory name="lib/composer/bin"/>
</ignoreFiles>