Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux authored and backportbot[bot] committed Apr 7, 2025
commit 1ab680ae69d0e281c03f7c0301e2cbf2b809f0ac
2 changes: 1 addition & 1 deletion apps/files_reminders/lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function prepare(INotification $notification, string $languageCode): INot
[
'name' => [
'type' => 'highlight',
'id' => $node->getId(),
'id' => (string)$node->getId(),
'name' => $node->getName(),
],
],
Expand Down
6 changes: 6 additions & 0 deletions build/psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,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>
Expand Down
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
Loading