From c9fde7b2f98b23ebe1618ed6ef4f77f0f11850a2 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Fri, 10 Jun 2022 04:14:09 +0000 Subject: [PATCH] Update psalm baseline Signed-off-by: GitHub --- build/psalm-baseline.xml | 169 ++------------------------------------- 1 file changed, 8 insertions(+), 161 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 13d46ec08bd..ffdb385aa2a 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1707,11 +1707,6 @@ dispatch - - - $user - - int @@ -1782,12 +1777,9 @@ false - + $timestamp $timestamp - $uid - $user - $user @@ -1818,9 +1810,8 @@ - + $timestamp - $uid @@ -1852,9 +1843,6 @@ AppPasswordCreatedActivityListener::class - - \OC_User::getUser() - getSettingsManager @@ -1906,11 +1894,6 @@ null - - - $uid - - false @@ -2038,9 +2021,6 @@ $this->countUsers($filter) - - $record - $uuid $values @@ -2048,8 +2028,7 @@ string[] - - $e->getCode() + $key $key @@ -2077,16 +2056,7 @@ dispatch - - - time() - - - - LDAP_OPT_PROTOCOL_VERSION - LDAP_OPT_REFERRALS - @@ -2130,13 +2100,6 @@ Resource - - - $newOffset - 0 - 50 - - $i @@ -2166,68 +2129,12 @@ 3600 - - - $baseDN - $baseDN - $link - $link - $link - $link - $link - $link - $link - $link - $link - $link - $link - $link - $link - $link - $resource - $result - $result - $result - $result - $result - - - $baseDN - - - array|mixed - array|mixed - bool|mixed - bool|mixed - bool|mixed - mixed - mixed - mixed - mixed - mixed - mixed|string - mixed|true - mixed|true - - - Resource - - bool - - $isUnmapped - - - $result - - - bool - isset($qb) @@ -2256,8 +2163,7 @@ null null - - $this->getHomePath($ldapEntry[$attr][0]) + 1 true @@ -2266,9 +2172,6 @@ string|false - - $path - $limit $offset @@ -2301,15 +2204,9 @@ private function detectGroupMemberAssoc() { private function getAttributeValuesFromEntry($result, $attribute, &$known) { - + $port $port - LDAP_OPT_NETWORK_TIMEOUT - LDAP_OPT_NETWORK_TIMEOUT - LDAP_OPT_PROTOCOL_VERSION - LDAP_OPT_PROTOCOL_VERSION - LDAP_OPT_REFERRALS - LDAP_OPT_REFERRALS !isset($item['cn']) && !is_array($item['cn']) @@ -3052,23 +2949,12 @@ $userId - - - InMemoryFile - - - - ISimpleFile - $data - - ISimpleFile - $data $data @@ -3512,11 +3398,6 @@ string - - $user - $user - \OC_User::getUser() - null @@ -3758,9 +3639,6 @@ string|false - - array - !$permissions $this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file) @@ -3775,9 +3653,6 @@ $storage->updater $storage->updater - - $this->getStorageCache()->getAvailability() - @@ -4059,10 +3934,9 @@ \OC\Files\Mount\MountPoint - + $fileId $mtime - $user $mount @@ -4072,13 +3946,9 @@ null null - + $data $data - $result - $result && in_array('delete', $hooks) and $result - Constants::PERMISSION_READ - Constants::PERMISSION_READ is_resource($source) @@ -4301,11 +4171,6 @@ mixed - - - \Memcached::HAVE_IGBINARY - - exec @@ -4338,10 +4203,6 @@ ISimpleFile - - $file->getId() - $file->getId() - ISimpleFile @@ -4596,10 +4457,6 @@ !self::isResharingAllowed() - - \OC_User::getUser() - \OC_User::getUser() - getParents getParents @@ -4800,10 +4657,9 @@ string string - + $appName $appName - \OC_User::getUser() Util::addScript('dist/unified-search', null, true) @@ -5040,11 +4896,6 @@ $isWritable - - - OC_User::getUser() - - \Test\Util\User\Dummy @@ -5061,10 +4912,6 @@ float - - $user - OC_User::getUser() - is_string($expected) -- 2.39.5