Passed
Pull Request — master (#1537)
by Julius
02:58
created
lib/Service/CommentService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@  discard block
 block discarded – undo
28 28
 use OCA\Deck\BadRequestException;
29 29
 use OCA\Deck\NoPermissionException;
30 30
 use OCA\Deck\NotFoundException;
31
-use OCA\Deck\StatusException;
32 31
 use OCP\AppFramework\Http\DataResponse;
33 32
 use OCP\Comments\IComment;
34 33
 use OCP\Comments\ICommentsManager;
@@ -37,7 +36,6 @@  discard block
 block discarded – undo
37 36
 use OCP\ILogger;
38 37
 use OCP\IUserManager;
39 38
 use OutOfBoundsException;
40
-use Sabre\DAV\Exception\Forbidden;
41 39
 use function is_numeric;
42 40
 
43 41
 class CommentService {
Please login to merge, or discard this patch.
appinfo/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,6 +127,6 @@
 block discarded – undo
127 127
 		['name' => 'comments_api#update', 'url' => '/api/v1.0/boards/{boardId}/stacks/{stackId}/cards/{cardId}/comments/{commentId}', 'verb' => 'PUT'],
128 128
 		['name' => 'comments_api#delete', 'url' => '/api/v1.0/boards/{boardId}/stacks/{stackId}/cards/{cardId}/comments/{commentId}', 'verb' => 'DELETE'],
129 129
 
130
-		['name' => 'board_api#preflighted_cors', 'url' => '/api/v1.0/{path}','verb' => 'OPTIONS', 'requirements' => ['path' => '.+']],
130
+		['name' => 'board_api#preflighted_cors', 'url' => '/api/v1.0/{path}', 'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']],
131 131
 	]
132 132
 ];
Please login to merge, or discard this patch.