From 562f8b2c603eab4480cec3db5079bea670664513 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 06:00:19 +0000 Subject: [PATCH 1/2] chore(deps-dev): Bump nextcloud/coding-standard in /vendor-bin/csfixer Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- vendor-bin/csfixer/composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vendor-bin/csfixer/composer.lock b/vendor-bin/csfixer/composer.lock index bc9ad9a83..bdb869bd1 100644 --- a/vendor-bin/csfixer/composer.lock +++ b/vendor-bin/csfixer/composer.lock @@ -55,16 +55,16 @@ }, { "name": "nextcloud/coding-standard", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/nextcloud/coding-standard.git", - "reference": "e88acb0df6217b808d1632286ddfec9267a102e4" + "reference": "9c719c4747fa26efc12f2e8b21c14a9a75c6ba6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/e88acb0df6217b808d1632286ddfec9267a102e4", - "reference": "e88acb0df6217b808d1632286ddfec9267a102e4", + "url": "https://api.github.com/repos/nextcloud/coding-standard/zipball/9c719c4747fa26efc12f2e8b21c14a9a75c6ba6d", + "reference": "9c719c4747fa26efc12f2e8b21c14a9a75c6ba6d", "shasum": "" }, "require": { @@ -91,9 +91,9 @@ "description": "Nextcloud coding standards for the php cs fixer", "support": { "issues": "https://github.com/nextcloud/coding-standard/issues", - "source": "https://github.com/nextcloud/coding-standard/tree/v1.3.1" + "source": "https://github.com/nextcloud/coding-standard/tree/v1.3.2" }, - "time": "2024-09-19T09:07:10+00:00" + "time": "2024-10-14T16:49:05+00:00" }, { "name": "php-cs-fixer/shim", From 1ce17219704368cde11ad5715384428378cb523f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 11 Nov 2024 07:19:59 +0100 Subject: [PATCH 2/2] fix(cs): Apply auto fixes Signed-off-by: Joas Schilling --- tests/Unit/Controller/EndpointControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Controller/EndpointControllerTest.php b/tests/Unit/Controller/EndpointControllerTest.php index 3811d2a9a..24897edd1 100644 --- a/tests/Unit/Controller/EndpointControllerTest.php +++ b/tests/Unit/Controller/EndpointControllerTest.php @@ -39,7 +39,7 @@ class EndpointControllerTest extends TestCase { protected ITimeFactory&MockObject $timeFactory; protected ClientService&MockObject $clientService; protected Push&MockObject $push; - protected EndpointController$controller; + protected EndpointController $controller; protected function setUp(): void { @@ -434,7 +434,7 @@ public static function dataNotificationToArray(): array { /** * @dataProvider dataNotificationToArray */ - public function testNotificationToArray(string $apiVersion, int $id, string $app, string $user, int $timestamp, string $objectType, string $objectId, string $subject, string$subjectRich, array $subjectRichParameters, string $message, string $messageRich, array $messageRichParameters, string $link, string $icon, int $actionsCount, array $actionsExpected): void { + public function testNotificationToArray(string $apiVersion, int $id, string $app, string $user, int $timestamp, string $objectType, string $objectId, string $subject, string $subjectRich, array $subjectRichParameters, string $message, string $messageRich, array $messageRichParameters, string $link, string $icon, int $actionsCount, array $actionsExpected): void { $actions = []; for ($i = 0; $i < $actionsCount; $i++) { $actions[] = $this->createMock(IAction::class);