0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-26 18:05:15 +00:00

chore: lint files_reminders using psalm

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-04-04 16:30:56 +02:00
parent 54efdf2f93
commit 8f3abc4622
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
build
psalm.xml

View file

@ -76,7 +76,7 @@ class Notifier implements INotifier {
[ [
'name' => [ 'name' => [
'type' => 'highlight', 'type' => 'highlight',
'id' => $node->getId(), 'id' => (string)$node->getId(),
'name' => $node->getName(), 'name' => $node->getName(),
], ],
], ],

View file

@ -843,6 +843,12 @@
<code><![CDATA[test]]></code> <code><![CDATA[test]]></code>
</TooManyArguments> </TooManyArguments>
</file> </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"> <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
<RedundantCast> <RedundantCast>
<code><![CDATA[(int)$code]]></code> <code><![CDATA[(int)$code]]></code>

View file

@ -30,6 +30,7 @@
<directory name="apps/federation"/> <directory name="apps/federation"/>
<directory name="apps/files"/> <directory name="apps/files"/>
<directory name="apps/files_external"/> <directory name="apps/files_external"/>
<directory name="apps/files_reminders"/>
<directory name="apps/files_sharing"/> <directory name="apps/files_sharing"/>
<directory name="apps/files_trashbin"/> <directory name="apps/files_trashbin"/>
<directory name="apps/files_versions"/> <directory name="apps/files_versions"/>