diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-05-21 15:05:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 15:05:38 +0200 |
commit | b1ad3faf14140e3c85a7eec1dade88cd551cc747 (patch) | |
tree | 9e0cf55364960d052ba99f8417e63a5fadd054a8 /build | |
parent | 4aae71cd77e5117f06cabcc8a3933328f2df6533 (diff) | |
parent | 81964200639c585ff523c6303fdb99eb0c7c180c (diff) | |
download | nextcloud-server-b1ad3faf14140e3c85a7eec1dade88cd551cc747.tar.gz nextcloud-server-b1ad3faf14140e3c85a7eec1dade88cd551cc747.zip |
Merge pull request #25679 from nextcloud/drop/ocp-user
Drop \OCP\User
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 21 |
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> |