Skip to content

Commit 9836e9b

Browse files
committed
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <[email protected]>
1 parent 8c60ffa commit 9836e9b

File tree

595 files changed

+1655
-1524
lines changed

Some content is hidden

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

595 files changed

+1655
-1524
lines changed

apps/admin_audit/lib/Actions/Action.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ public function log(string $text,
3232
if (!isset($params[$element])) {
3333
if ($obfuscateParameters) {
3434
$this->logger->critical(
35-
'$params["'.$element.'"] was missing.',
35+
'$params["' . $element . '"] was missing.',
3636
['app' => 'admin_audit']
3737
);
3838
} else {
3939
$this->logger->critical(
4040
sprintf(
41-
'$params["'.$element.'"] was missing. Transferred value: %s',
41+
'$params["' . $element . '"] was missing. Transferred value: %s',
4242
print_r($params, true)
4343
),
4444
['app' => 'admin_audit']

apps/admin_audit/lib/Actions/Files.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function read(BeforeNodeReadEvent $event): void {
4242
];
4343
} catch (InvalidPathException|NotFoundException $e) {
4444
\OCP\Server::get(LoggerInterface::class)->error(
45-
'Exception thrown in file read: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
45+
'Exception thrown in file read: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
4646
);
4747
return;
4848
}
@@ -64,7 +64,7 @@ public function beforeRename(BeforeNodeRenamedEvent $event): void {
6464
$this->renamedNodes[$source->getId()] = $source;
6565
} catch (InvalidPathException|NotFoundException $e) {
6666
\OCP\Server::get(LoggerInterface::class)->error(
67-
'Exception thrown in file rename: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
67+
'Exception thrown in file rename: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
6868
);
6969
return;
7070
}
@@ -86,7 +86,7 @@ public function afterRename(NodeRenamedEvent $event): void {
8686
];
8787
} catch (InvalidPathException|NotFoundException $e) {
8888
\OCP\Server::get(LoggerInterface::class)->error(
89-
'Exception thrown in file rename: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
89+
'Exception thrown in file rename: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
9090
);
9191
return;
9292
}
@@ -112,7 +112,7 @@ public function create(NodeCreatedEvent $event): void {
112112
];
113113
} catch (InvalidPathException|NotFoundException $e) {
114114
\OCP\Server::get(LoggerInterface::class)->error(
115-
'Exception thrown in file create: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
115+
'Exception thrown in file create: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
116116
);
117117
return;
118118
}
@@ -141,7 +141,7 @@ public function copy(NodeCopiedEvent $event): void {
141141
];
142142
} catch (InvalidPathException|NotFoundException $e) {
143143
\OCP\Server::get(LoggerInterface::class)->error(
144-
'Exception thrown in file copy: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
144+
'Exception thrown in file copy: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
145145
);
146146
return;
147147
}
@@ -166,7 +166,7 @@ public function write(BeforeNodeWrittenEvent $event): void {
166166
];
167167
} catch (InvalidPathException|NotFoundException $e) {
168168
\OCP\Server::get(LoggerInterface::class)->error(
169-
'Exception thrown in file write: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
169+
'Exception thrown in file write: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
170170
);
171171
return;
172172
}
@@ -194,7 +194,7 @@ public function update(NodeWrittenEvent $event): void {
194194
];
195195
} catch (InvalidPathException|NotFoundException $e) {
196196
\OCP\Server::get(LoggerInterface::class)->error(
197-
'Exception thrown in file update: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
197+
'Exception thrown in file update: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
198198
);
199199
return;
200200
}
@@ -218,7 +218,7 @@ public function delete(NodeDeletedEvent $event): void {
218218
];
219219
} catch (InvalidPathException|NotFoundException $e) {
220220
\OCP\Server::get(LoggerInterface::class)->error(
221-
'Exception thrown in file delete: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
221+
'Exception thrown in file delete: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
222222
);
223223
return;
224224
}

apps/admin_audit/lib/Listener/FileEventListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private function beforePreviewFetched(BeforePreviewFetchedEvent $event): void {
4848
);
4949
} catch (InvalidPathException|NotFoundException $e) {
5050
\OCP\Server::get(LoggerInterface::class)->error(
51-
'Exception thrown in file preview: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
51+
'Exception thrown in file preview: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
5252
);
5353
return;
5454
}

apps/cloud_federation_api/lib/Controller/RequestHandlerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(
5050
private ICloudFederationProviderManager $cloudFederationProviderManager,
5151
private Config $config,
5252
private ICloudFederationFactory $factory,
53-
private ICloudIdManager $cloudIdManager
53+
private ICloudIdManager $cloudIdManager,
5454
) {
5555
parent::__construct($appName, $request);
5656
}

apps/comments/lib/Controller/NotificationsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(
3333
protected IRootFolder $rootFolder,
3434
protected IURLGenerator $urlGenerator,
3535
protected IManager $notificationManager,
36-
protected IUserSession $userSession
36+
protected IUserSession $userSession,
3737
) {
3838
parent::__construct($appName, $request);
3939
}

apps/comments/lib/Notification/Listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class Listener {
1717
public function __construct(
1818
protected IManager $notificationManager,
19-
protected IUserManager $userManager
19+
protected IUserManager $userManager,
2020
) {
2121
}
2222

apps/comments/lib/Notification/Notifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(
2525
protected IRootFolder $rootFolder,
2626
protected ICommentsManager $commentsManager,
2727
protected IURLGenerator $url,
28-
protected IUserManager $userManager
28+
protected IUserManager $userManager,
2929
) {
3030
}
3131

apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function run($argument) {
5656
$offset = (int)$argument['offset'];
5757
$stopAt = (int)$argument['stopAt'];
5858

59-
$this->logger->info('Building calendar reminder index (' . $offset .'/' . $stopAt . ')');
59+
$this->logger->info('Building calendar reminder index (' . $offset . '/' . $stopAt . ')');
6060

6161
$offset = $this->buildIndex($offset, $stopAt);
6262

apps/dav/lib/BackgroundJob/UserStatusAutomation.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@
2828
use Sabre\VObject\Recur\RRuleIterator;
2929

3030
class UserStatusAutomation extends TimedJob {
31-
public function __construct(private ITimeFactory $timeFactory,
31+
public function __construct(
32+
private ITimeFactory $timeFactory,
3233
private IDBConnection $connection,
3334
private IJobList $jobList,
3435
private LoggerInterface $logger,
3536
private IManager $manager,
3637
private IConfig $config,
3738
private IAvailabilityCoordinator $coordinator,
38-
private IUserManager $userManager) {
39+
private IUserManager $userManager,
40+
) {
3941
parent::__construct($timeFactory);
4042

4143
// Interval 0 might look weird, but the last_checked is always moved

apps/dav/lib/BulkUpload/BulkUploadPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BulkUploadPlugin extends ServerPlugin {
2222

2323
public function __construct(
2424
Folder $userFolder,
25-
LoggerInterface $logger
25+
LoggerInterface $logger,
2626
) {
2727
$this->userFolder = $userFolder;
2828
$this->logger = $logger;

0 commit comments

Comments
 (0)