Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(NCU): Also provide unstable NCU namespace for psalm typing #28

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ update_sources() {
rm -rf OCP
cp -r server/lib/public OCP
git add OCP

if [ -d server/lib/unstable ]; then
rm -rf NCU
cp -r server/lib/unstable NCU
git add NCU
fi
}

# Check current branch, fallback to default
Expand Down
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"name": "nextcloud/ocp",
"description": "Composer package containing Nextcloud's public API (classes, interfaces)",
"description": "Composer package containing Nextcloud's public OCP API and the unstable NCU API",
"type": "library",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Christoph Wurst",
"email": "christoph@winzerhof-wurst.at"
},
{
"name": "Joas Schilling",
"email": "coding@schilljs.com"
}
],
"require": {
"php": "~8.0 || ~8.1 || ~8.2 || ~8.3",
"php": "~8.1 || ~8.2 || ~8.3",
nickvergessen marked this conversation as resolved.
Show resolved Hide resolved
"psr/clock": "^1.0",
"psr/container": "^2.0.2",
"psr/event-dispatcher": "^1.0",
Expand Down