]> source.dussan.org Git - nextcloud-server.git/commitdiff
feat(core): setting NCU namespace enh/noid/testing-namespace 48891/head
authorMaxence Lange <maxence@artificial-owl.com>
Thu, 7 Nov 2024 18:47:04 +0000 (17:47 -0100)
committerMaxence Lange <maxence@artificial-owl.com>
Thu, 7 Nov 2024 18:49:08 +0000 (17:49 -0100)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
composer.json
lib/composer/composer/autoload_psr4.php
lib/composer/composer/autoload_static.php
lib/unstable/.gitkeep [new file with mode: 0644]
psalm-ocp.xml

index 5912a81f9878535c9ccbfefcfa642871c5efedff..f11ced48b67807489987547121602e39bcce4b2b 100644 (file)
@@ -19,7 +19,8 @@
                        "": "lib/private/legacy",
                        "OC\\": "lib/private",
                        "OC\\Core\\": "core/",
-                       "OCP\\": "lib/public"
+                       "OCP\\": "lib/public",
+                       "NCU\\": "lib/unstable"
                }
        },
        "require": {
index 74e48cf69ae282da037509240c583d4634fbe094..b07b2c0074bf5ed59a7668eed1081534df18b128 100644 (file)
@@ -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'),
 );
index 4bac34425ac16f33f500482b4678b3846ea8a072..3fc72c2b6e46a90f97f8da9a74eac42046c4c7e9 100644 (file)
@@ -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 (file)
index 0000000..e69de29
index e49f7fd929b5066ecc3087b7db62b3c155ea4ab6..de4741aa2ddcecbee193dd1f8229d96e78dfac70 100644 (file)
@@ -19,6 +19,7 @@
        </plugins>
        <projectFiles>
                <directory name="lib/public"/>
+               <directory name="lib/unstable"/>
                <ignoreFiles>
                        <directory name="lib/composer/bin"/>
                </ignoreFiles>