aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-19 11:10:31 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-19 14:21:20 +0200
commit9836e9b16484582d309c8437ab46d82e34956941 (patch)
treed3da87bb7dfd1a8877ed25072ecf609def844089 /apps/user_status/lib
parent8c60ffa0f21414e6e671c567d664a9b9e5253e26 (diff)
downloadnextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.tar.gz
nextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.zip
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/user_status/lib')
-rw-r--r--apps/user_status/lib/ContactsMenu/StatusProvider.php4
-rw-r--r--apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php2
-rw-r--r--apps/user_status/lib/Listener/OutOfOfficeStatusListener.php6
-rw-r--r--apps/user_status/lib/Listener/UserLiveStatusListener.php6
-rw-r--r--apps/user_status/lib/Migration/Version1008Date20230921144701.php4
5 files changed, 15 insertions, 7 deletions
diff --git a/apps/user_status/lib/ContactsMenu/StatusProvider.php b/apps/user_status/lib/ContactsMenu/StatusProvider.php
index 023b4402fc2..6a6949b46ba 100644
--- a/apps/user_status/lib/ContactsMenu/StatusProvider.php
+++ b/apps/user_status/lib/ContactsMenu/StatusProvider.php
@@ -19,7 +19,9 @@ use function array_map;
class StatusProvider implements IBulkProvider {
- public function __construct(private StatusService $statusService) {
+ public function __construct(
+ private StatusService $statusService,
+ ) {
}
public function process(array $entries): void {
diff --git a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php
index 8b639169b07..49ac93573dd 100644
--- a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php
+++ b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php
@@ -46,7 +46,7 @@ class BeforeTemplateRenderedListener implements IEventListener {
ProfileManager $profileManager,
IUserSession $userSession,
IInitialStateService $initialState,
- JSDataService $jsDataService
+ JSDataService $jsDataService,
) {
$this->profileManager = $profileManager;
$this->userSession = $userSession;
diff --git a/apps/user_status/lib/Listener/OutOfOfficeStatusListener.php b/apps/user_status/lib/Listener/OutOfOfficeStatusListener.php
index 23dec452928..6337d637896 100644
--- a/apps/user_status/lib/Listener/OutOfOfficeStatusListener.php
+++ b/apps/user_status/lib/Listener/OutOfOfficeStatusListener.php
@@ -28,9 +28,11 @@ use OCP\UserStatus\IUserStatus;
*
*/
class OutOfOfficeStatusListener implements IEventListener {
- public function __construct(private IJobList $jobsList,
+ public function __construct(
+ private IJobList $jobsList,
private ITimeFactory $time,
- private IManager $manager) {
+ private IManager $manager,
+ ) {
}
/**
diff --git a/apps/user_status/lib/Listener/UserLiveStatusListener.php b/apps/user_status/lib/Listener/UserLiveStatusListener.php
index ea8d995b8a3..79305a99b05 100644
--- a/apps/user_status/lib/Listener/UserLiveStatusListener.php
+++ b/apps/user_status/lib/Listener/UserLiveStatusListener.php
@@ -33,11 +33,13 @@ class UserLiveStatusListener implements IEventListener {
private StatusService $statusService;
private ITimeFactory $timeFactory;
- public function __construct(UserStatusMapper $mapper,
+ public function __construct(
+ UserStatusMapper $mapper,
StatusService $statusService,
ITimeFactory $timeFactory,
private CalendarStatusService $calendarStatusService,
- private LoggerInterface $logger) {
+ private LoggerInterface $logger,
+ ) {
$this->mapper = $mapper;
$this->statusService = $statusService;
$this->timeFactory = $timeFactory;
diff --git a/apps/user_status/lib/Migration/Version1008Date20230921144701.php b/apps/user_status/lib/Migration/Version1008Date20230921144701.php
index 561dfd343cf..30ebbf37b0e 100644
--- a/apps/user_status/lib/Migration/Version1008Date20230921144701.php
+++ b/apps/user_status/lib/Migration/Version1008Date20230921144701.php
@@ -18,7 +18,9 @@ use OCP\Migration\SimpleMigrationStep;
class Version1008Date20230921144701 extends SimpleMigrationStep {
- public function __construct(private IDBConnection $connection) {
+ public function __construct(
+ private IDBConnection $connection,
+ ) {
}
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {