diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-04-04 16:30:56 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-04-07 10:56:16 +0200 |
commit | c0212af7fa4e1bce17a3ff95e4096e150d468efe (patch) | |
tree | 1747712a4aabee04145c972823fdb398fd672de5 | |
parent | d79070c639970dcc46557fa6260ce8a592bde6fa (diff) | |
download | nextcloud-server-fix/missing-import.tar.gz nextcloud-server-fix/missing-import.zip |
chore: lint files_reminders using psalmfix/missing-import
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/files_reminders/lib/Notification/Notifier.php | 2 | ||||
-rw-r--r-- | build/psalm-baseline.xml | 6 | ||||
-rw-r--r-- | psalm.xml | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/apps/files_reminders/lib/Notification/Notifier.php b/apps/files_reminders/lib/Notification/Notifier.php index 565ef9a4695..337ef04c814 100644 --- a/apps/files_reminders/lib/Notification/Notifier.php +++ b/apps/files_reminders/lib/Notification/Notifier.php @@ -76,7 +76,7 @@ class Notifier implements INotifier { [ 'name' => [ 'type' => 'highlight', - 'id' => $node->getId(), + 'id' => (string)$node->getId(), 'name' => $node->getName(), ], ], diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index dc24381b95a..1a94fd88a17 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -843,6 +843,12 @@ <code><![CDATA[test]]></code> </TooManyArguments> </file> + <file src="apps/files_reminders/lib/Model/RichReminder.php"> + <ConstructorSignatureMismatch> + <code><![CDATA[public function __construct(]]></code> + <code><![CDATA[public function __construct(]]></code> + </ConstructorSignatureMismatch> + </file> <file src="apps/files_sharing/lib/Controller/ShareAPIController.php"> <RedundantCast> <code><![CDATA[(int)$code]]></code> diff --git a/psalm.xml b/psalm.xml index 22428fb4725..0fdbc287b5a 100644 --- a/psalm.xml +++ b/psalm.xml @@ -30,6 +30,7 @@ <directory name="apps/federation"/> <directory name="apps/files"/> <directory name="apps/files_external"/> + <directory name="apps/files_reminders"/> <directory name="apps/files_sharing"/> <directory name="apps/files_trashbin"/> <directory name="apps/files_versions"/> |