Browse Source
chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/51944/head
Ferdinand Thiessen
1 year ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
3 changed files with
8 additions and
1 deletions
-
apps/files_reminders/lib/Notification/Notifier.php
-
build/psalm-baseline.xml
-
psalm.xml
|
|
|
@ -76,7 +76,7 @@ class Notifier implements INotifier { |
|
|
|
[ |
|
|
|
'name' => [ |
|
|
|
'type' => 'highlight', |
|
|
|
'id' => $node->getId(), |
|
|
|
'id' => (string)$node->getId(), |
|
|
|
'name' => $node->getName(), |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -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"/> |
|
|
|
|