Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-05-21 16:05:38 +0300
committerGitHub <noreply@github.com>2021-05-21 16:05:38 +0300
commitb1ad3faf14140e3c85a7eec1dade88cd551cc747 (patch)
tree9e0cf55364960d052ba99f8417e63a5fadd054a8 /build
parent4aae71cd77e5117f06cabcc8a3933328f2df6533 (diff)
parent81964200639c585ff523c6303fdb99eb0c7c180c (diff)
Merge pull request #25679 from nextcloud/drop/ocp-user
Drop \OCP\User
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml21
1 files changed, 11 insertions, 10 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 033d8aac2a8..225d191f640 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1646,6 +1646,11 @@
<code>dispatch</code>
</TooManyArguments>
</file>
+ <file src="apps/files_trashbin/lib/Hooks.php">
+ <InvalidScalarArgument occurrences="1">
+ <code>$user</code>
+ </InvalidScalarArgument>
+ </file>
<file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
@@ -1715,9 +1720,12 @@
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
- <InvalidScalarArgument occurrences="2">
+ <InvalidScalarArgument occurrences="5">
<code>$timestamp</code>
<code>$timestamp</code>
+ <code>$uid</code>
+ <code>$user</code>
+ <code>$user</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_versions/appinfo/routes.php">
@@ -1756,8 +1764,9 @@
<InvalidArgument occurrences="1">
<code>'OCA\Files_Versions::createVersion'</code>
</InvalidArgument>
- <InvalidScalarArgument occurrences="1">
+ <InvalidScalarArgument occurrences="2">
<code>$timestamp</code>
+ <code>$uid</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
@@ -5073,14 +5082,6 @@
<code>mixed</code>
</InvalidReturnType>
</file>
- <file src="lib/public/User.php">
- <InvalidReturnStatement occurrences="1">
- <code>\OC_User::getUser()</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>string</code>
- </InvalidReturnType>
- </file>
<file src="lib/public/Util.php">
<InvalidReturnStatement occurrences="1">
<code>\OC_Helper::computerFileSize($str)</code>