Merge pull request #48891 from nextcloud/enh/noid/testing-namespace

[RFC] Setting NCU\ for unstable/work-in-progress API
pull/49210/head
Maxence Lange 2 weeks ago committed by GitHub
commit 7c67df6532
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      composer.json
  2. 1
      lib/composer/composer/autoload_psr4.php
  3. 8
      lib/composer/composer/autoload_static.php
  4. 0
      lib/unstable/.gitkeep
  5. 1
      psalm-ocp.xml

@ -19,7 +19,8 @@
"": "lib/private/legacy",
"OC\\": "lib/private",
"OC\\Core\\": "core/",
"OCP\\": "lib/public"
"OCP\\": "lib/public",
"NCU\\": "lib/unstable"
}
},
"require": {

@ -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'),
);

@ -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 (

@ -19,6 +19,7 @@
</plugins>
<projectFiles>
<directory name="lib/public"/>
<directory name="lib/unstable"/>
<ignoreFiles>
<directory name="lib/composer/bin"/>
</ignoreFiles>

Loading…
Cancel
Save