Skip to content
Snippets Groups Projects
Commit c4e8c1bd authored by Nextcloud-PR-Bot's avatar Nextcloud-PR-Bot Committed by GitHub
Browse files

Update psalm baseline


Signed-off-by: default avatarGitHub <noreply@github.com>
parent 285570f5
No related branches found
No related tags found
No related merge requests found
...@@ -1659,12 +1659,6 @@ ...@@ -1659,12 +1659,6 @@
<code>\OCA\Talk\Share\Helper\DeletedShareAPIController</code> <code>\OCA\Talk\Share\Helper\DeletedShareAPIController</code>
</UndefinedDocblockClass> </UndefinedDocblockClass>
</file> </file>
<file src="apps/files_sharing/lib/Controller/ExternalSharesController.php">
<InvalidArgument occurrences="2">
<code>'http'</code>
<code>'https'</code>
</InvalidArgument>
</file>
<file src="apps/files_sharing/lib/Controller/ShareAPIController.php"> <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
<InvalidScalarArgument occurrences="3"> <InvalidScalarArgument occurrences="3">
<code>$code</code> <code>$code</code>
...@@ -1689,9 +1683,8 @@ ...@@ -1689,9 +1683,8 @@
</UndefinedDocblockClass> </UndefinedDocblockClass>
</file> </file>
<file src="apps/files_sharing/lib/Controller/ShareController.php"> <file src="apps/files_sharing/lib/Controller/ShareController.php">
<InvalidArgument occurrences="2"> <InvalidArgument occurrences="1">
<code>$files_list</code> <code>$files_list</code>
<code>'Share has no read permission'</code>
</InvalidArgument> </InvalidArgument>
<InvalidScalarArgument occurrences="3"> <InvalidScalarArgument occurrences="3">
<code>$freeSpace</code> <code>$freeSpace</code>
...@@ -1707,11 +1700,6 @@ ...@@ -1707,11 +1700,6 @@
<code>$password</code> <code>$password</code>
</NullArgument> </NullArgument>
</file> </file>
<file src="apps/files_sharing/lib/ExpireSharesJob.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files_sharing/lib/External/Manager.php"> <file src="apps/files_sharing/lib/External/Manager.php">
<InvalidScalarArgument occurrences="1"> <InvalidScalarArgument occurrences="1">
<code>(int) $remoteShare</code> <code>(int) $remoteShare</code>
...@@ -2048,13 +2036,6 @@ ...@@ -2048,13 +2036,6 @@
<code>dispatch</code> <code>dispatch</code>
</TooManyArguments> </TooManyArguments>
</file> </file>
<file src="apps/settings/lib/Controller/MailSettingsController.php">
<InvalidArgument occurrences="3">
<code>$this-&gt;l10n-&gt;t('A problem occurred while sending the email. Please revise your settings. (Error: %s)', [$e-&gt;getMessage()])</code>
<code>$this-&gt;l10n-&gt;t('Invalid SMTP password.')</code>
<code>$this-&gt;l10n-&gt;t('You need to set your user email before being able to send test emails.')</code>
</InvalidArgument>
</file>
<file src="apps/settings/lib/Hooks.php"> <file src="apps/settings/lib/Hooks.php">
<InvalidArgument occurrences="1"> <InvalidArgument occurrences="1">
<code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code> <code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code>
...@@ -2204,9 +2185,6 @@ ...@@ -2204,9 +2185,6 @@
</InvalidArgument> </InvalidArgument>
</file> </file>
<file src="apps/updatenotification/lib/Controller/AdminController.php"> <file src="apps/updatenotification/lib/Controller/AdminController.php">
<InvalidArgument occurrences="1">
<code>$newToken</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2"> <InvalidScalarArgument occurrences="2">
<code>$this-&gt;timeFactory-&gt;getTime()</code> <code>$this-&gt;timeFactory-&gt;getTime()</code>
<code>0</code> <code>0</code>
...@@ -2591,9 +2569,6 @@ ...@@ -2591,9 +2569,6 @@
</InvalidArgument> </InvalidArgument>
</file> </file>
<file src="apps/workflowengine/lib/Controller/AWorkflowController.php"> <file src="apps/workflowengine/lib/Controller/AWorkflowController.php">
<InvalidArgument occurrences="1">
<code>$deleted</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="3"> <InvalidScalarArgument occurrences="3">
<code>$e-&gt;getCode()</code> <code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code> <code>$e-&gt;getCode()</code>
...@@ -3161,9 +3136,6 @@ ...@@ -3161,9 +3136,6 @@
<code>strtolower</code> <code>strtolower</code>
</RedundantCondition> </RedundantCondition>
</file> </file>
<file src="lib/private/AppFramework/ScopedPsrLogger.php">
<InvalidArgument occurrences="1"/>
</file>
<file src="lib/private/AppFramework/Services/AppConfig.php"> <file src="lib/private/AppFramework/Services/AppConfig.php">
<MoreSpecificImplementedParamType occurrences="1"> <MoreSpecificImplementedParamType occurrences="1">
<code>$default</code> <code>$default</code>
...@@ -5635,14 +5607,6 @@ ...@@ -5635,14 +5607,6 @@
<code>$column</code> <code>$column</code>
</NullableReturnStatement> </NullableReturnStatement>
</file> </file>
<file src="lib/public/AppFramework/Http/DataResponse.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;data</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
</file>
<file src="lib/public/AppFramework/Http/JSONResponse.php"> <file src="lib/public/AppFramework/Http/JSONResponse.php">
<InvalidReturnStatement occurrences="1"> <InvalidReturnStatement occurrences="1">
<code>$this-&gt;data</code> <code>$this-&gt;data</code>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment