From 74444b7ade275bfaf71b70538ac7787832208fb5 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 15 Feb 2026 03:17:20 +0000 Subject: [PATCH 1/3] chore(dev-deps): Bump nextcloud/ocp package Signed-off-by: GitHub --- composer.json | 2 +- composer.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index a292803ea..b2fd27e7f 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ }, "require-dev": { "nextcloud/coding-standard": "^v1.4.0", - "nextcloud/ocp": "dev-stable31", + "nextcloud/ocp": "dev-stable33", "staabm/annotate-pull-request-from-checkstyle": "^1.8.6", "phpunit/phpunit": "^9", "psalm/phar": "^5.26.1" diff --git a/composer.lock b/composer.lock index dae2f989c..c59cdbaf9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5e207b776d02d8ce22e5c561eba66289", + "content-hash": "2d2313274cf6595dd5b6fcf5a69e1eb8", "packages": [ { "name": "bamarni/composer-bin-plugin", @@ -874,20 +874,20 @@ }, { "name": "nextcloud/ocp", - "version": "dev-stable31", + "version": "dev-stable33", "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "b369e02e33a1b9327eb3c4c5f639135b66e7bc8f" + "reference": "a643b20f9ff1849a297d69ef250414ef16c48f6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/b369e02e33a1b9327eb3c4c5f639135b66e7bc8f", - "reference": "b369e02e33a1b9327eb3c4c5f639135b66e7bc8f", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/a643b20f9ff1849a297d69ef250414ef16c48f6a", + "reference": "a643b20f9ff1849a297d69ef250414ef16c48f6a", "shasum": "" }, "require": { - "php": "~8.1 || ~8.2 || ~8.3 || ~8.4", + "php": "~8.1 || ~8.2 || ~8.3 || ~8.4 || ~8.5", "psr/clock": "^1.0", "psr/container": "^2.0.2", "psr/event-dispatcher": "^1.0", @@ -896,7 +896,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-stable31": "31.0.0-dev" + "dev-stable33": "33.0.0-dev" } }, "notification-url": "https://packagist.org/downloads/", @@ -916,9 +916,9 @@ "description": "Composer package containing Nextcloud's public OCP API and the unstable NCU API", "support": { "issues": "https://github.com/nextcloud-deps/ocp/issues", - "source": "https://github.com/nextcloud-deps/ocp/tree/stable31" + "source": "https://github.com/nextcloud-deps/ocp/tree/stable33" }, - "time": "2026-02-06T01:05:41+00:00" + "time": "2026-02-12T01:11:10+00:00" }, { "name": "nikic/php-parser", From 39ef6bf6bb5b7182ffb4403ab19f47df0eff1957 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 16 Feb 2026 15:34:15 +0100 Subject: [PATCH 2/3] ci: fix bracnhes for psalm tests Signed-off-by: Arthur Schiwon --- .github/workflows/psalm-matrix-custom.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/psalm-matrix-custom.yml b/.github/workflows/psalm-matrix-custom.yml index ad2b29b8b..1360c4094 100644 --- a/.github/workflows/psalm-matrix-custom.yml +++ b/.github/workflows/psalm-matrix-custom.yml @@ -21,7 +21,7 @@ jobs: # do not stop on another job's failure fail-fast: false matrix: - ocp-version: [ 'dev-master', 'dev-stable31' ] + ocp-version: [ 'dev-master', 'dev-stable33' ] name: static-psalm-analysis ${{ matrix.ocp-version }} steps: From dfd91d9c65c0cf3379da49ba895fea4c9c089771 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 16 Feb 2026 15:38:53 +0100 Subject: [PATCH 3/3] refactor: fix server deprecation Signed-off-by: Arthur Schiwon --- lib/AppInfo/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 780e0edaa..f0ade8bc3 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -36,11 +36,11 @@ use OCP\AppFramework\Bootstrap\IBootstrap; use OCP\AppFramework\Bootstrap\IRegistrationContext; use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent; -use OCP\AppFramework\IAppContainer; use OCP\Collaboration\Reference\RenderReferenceEvent; use OCP\Collaboration\Resources\LoadAdditionalScriptsEvent; use OCP\DB\Events\AddMissingIndicesEvent; use OCP\User\Events\BeforeUserDeletedEvent; +use Psr\Container\ContainerInterface; class Application extends App implements IBootstrap { public const APP_ID = 'tables'; @@ -73,7 +73,7 @@ public function register(IRegistrationContext $context): void { throw new Exception('Cannot include autoload. Did you run install dependencies using composer?'); } - $context->registerService(AuditLogServiceInterface::class, fn (IAppContainer $c) => $c->query(DefaultAuditLogService::class)); + $context->registerService(AuditLogServiceInterface::class, fn (ContainerInterface $c) => $c->get(DefaultAuditLogService::class)); $context->registerEventListener(BeforeUserDeletedEvent::class, UserDeletedListener::class); $context->registerEventListener(DatasourceEvent::class, AnalyticsDatasourceListener::class);