Skip to content

Commit ce9a54a

Browse files
committed
fix(lint): apply new nextcloud code style
Signed-off-by: grnd-alt <git@belakkaf.net>
1 parent 9802d8f commit ce9a54a

113 files changed

Lines changed: 35 additions & 139 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

appinfo/routes.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
['name' => 'attachment#delete', 'url' => '/cards/{cardId}/attachment/{attachmentId}', 'verb' => 'DELETE'],
7171
['name' => 'attachment#restore', 'url' => '/cards/{cardId}/attachment/{attachmentId}/restore', 'verb' => 'GET'],
7272

73-
7473
// labels
7574
['name' => 'label#create', 'url' => '/labels', 'verb' => 'POST'],
7675
['name' => 'label#update', 'url' => '/labels/{labelId}', 'verb' => 'PUT'],
@@ -91,7 +90,6 @@
9190
['name' => 'board_import_api#getConfigSchema', 'url' => '/api/v{apiVersion}/boards/import/config/schema/{name}','verb' => 'GET'],
9291
['name' => 'board_import_api#import', 'url' => '/api/v{apiVersion}/boards/import','verb' => 'POST'],
9392

94-
9593
['name' => 'stack_api#index', 'url' => '/api/v{apiVersion}/boards/{boardId}/stacks', 'verb' => 'GET'],
9694
['name' => 'stack_api#getArchived', 'url' => '/api/v{apiVersion}/boards/{boardId}/stacks/archived', 'verb' => 'GET'],
9795
['name' => 'stack_api#get', 'url' => '/api/v{apiVersion}/boards/{boardId}/stacks/{stackId}', 'verb' => 'GET'],

lib/Cache/AttachmentCacheHelper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
declare(strict_types=1);
99

10-
1110
namespace OCA\Deck\Cache;
1211

1312
use OCP\ICache;

lib/Capabilities.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class Capabilities implements ICapability {
1515
private IAppManager $appManager;
1616
private PermissionService $permissionService;
1717

18-
1918
public function __construct(IAppManager $appManager, PermissionService $permissionService) {
2019
$this->appManager = $appManager;
2120
$this->permissionService = $permissionService;

lib/Command/CalendarToggle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
55
* SPDX-License-Identifier: AGPL-3.0-or-later
66
*/
7+
78
namespace OCA\Deck\Command;
89

910
use OCP\IConfig;

lib/Command/TransferOwnership.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
55
* SPDX-License-Identifier: AGPL-3.0-or-later
66
*/
7+
78
namespace OCA\Deck\Command;
89

910
use OCA\Deck\Db\BoardMapper;

lib/Controller/AttachmentApiController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
55
* SPDX-License-Identifier: AGPL-3.0-or-later
66
*/
7+
78
namespace OCA\Deck\Controller;
89

910
use OCA\Deck\Db\Attachment;

lib/Controller/AttachmentApiV11Controller.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
55
* SPDX-License-Identifier: AGPL-3.0-or-later
66
*/
7+
78
namespace OCA\Deck\Controller;
89

910
class AttachmentApiV11Controller extends AttachmentApiController {

lib/Controller/AttachmentOcsController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
77
* SPDX-License-Identifier: AGPL-3.0-or-later
88
*/
9+
910
namespace OCA\Deck\Controller;
1011

1112
use OCA\Deck\NotImplementedException;

lib/Controller/BoardApiController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
1818
use OCP\AppFramework\Http\DataResponse;
1919
use OCP\IRequest;
20-
2120
use function Sabre\HTTP\parseDate;
2221

2322
/**

lib/Controller/CardOcsController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public function create(string $title, int $stackId, ?int $boardId = null, ?strin
6161
return new DataResponse($card);
6262
}
6363

64-
6564
#[NoAdminRequired]
6665
#[PublicPage]
6766
public function assignLabel(?int $boardId, int $cardId, int $labelId): DataResponse {

0 commit comments

Comments
 (0)