Skip to content

Commit

Permalink
feat(core): setting NCU namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Nov 7, 2024
1 parent 6fa4266 commit 0f6ef85
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"": "lib/private/legacy",
"OC\\": "lib/private",
"OC\\Core\\": "core/",
"OCP\\": "lib/public"
"OCP\\": "lib/public",
"NCU\\": "lib/unstable"
}
},
"require": {
Expand Down
1 change: 1 addition & 0 deletions lib/composer/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
'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'),
);
8 changes: 8 additions & 0 deletions lib/composer/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
'OC\\' => 3,
'OCP\\' => 4,
),
'N' =>
array (
'NCU\\' => 4,
),
);

public static $prefixDirsPsr4 = array (
Expand All @@ -32,6 +36,10 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
array (
0 => __DIR__ . '/../../..' . '/lib/public',
),
'NCU\\' =>
array (
0 => __DIR__ . '/../../..' . '/lib/unstable',
),
);

public static $fallbackDirsPsr4 = array (
Expand Down
Empty file added lib/unstable/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions psalm-ocp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</plugins>
<projectFiles>
<directory name="lib/public"/>
<directory name="lib/unstable"/>
<ignoreFiles>
<directory name="lib/composer/bin"/>
</ignoreFiles>
Expand Down

0 comments on commit 0f6ef85

Please sign in to comment.