From 898426391e05a6aa6dd0d071ec97fbed7519f54c Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 18 Oct 2021 16:10:15 +0200 Subject: [PATCH 1/4] Update psalm baseline Signed-off-by: Vincent Petry --- build/psalm-baseline.xml | 1880 ++++++-------------------------------- 1 file changed, 276 insertions(+), 1604 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index dc2726c7c37b2..7217b90912cb9 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,10 +1,5 @@ - - - - string|null - - + $calendarData @@ -41,50 +36,16 @@ array - - - $this->appRoot - - - $this->appRoot - $this->appRoot - - - - - $e->getCode() - - - is_array($notification) - - 10 - - - (int) $comment->getId() - - \Sabre\Uri\split($this->principalUri) - - - run - - - - - $propQuery->createFunction($addressbooksQuery->getSQL()) - $cardQuery->createFunction($propQuery->getSQL()) - $cardQuery->createFunction($addressbooksQuery->getSQL()) - - new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud') @@ -103,8 +64,8 @@ - \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog) + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) $baseuri @@ -139,34 +100,11 @@ require '../../../../3rdparty/autoload.php' - - - \Sabre\Uri\split($principalUri) - - - getAppDataDir - - Uri\split($this->principalInfo['uri']) - - - run - - - - - run - - - - - File - - $user['uri'] @@ -176,10 +114,10 @@ setDateTime - $newCalendarData->VEVENT->DTSTART $existingBirthday->VEVENT->DTSTART - $newCalendarData->VEVENT->SUMMARY $existingBirthday->VEVENT->SUMMARY + $newCalendarData->VEVENT->DTSTART + $newCalendarData->VEVENT->SUMMARY @@ -202,30 +140,21 @@ - - $query->createParameter('principaluri') - $query->createNamedParameter(self::ACCESS_PUBLIC) - $query->createNamedParameter(self::ACCESS_PUBLIC) - $query->createParameter('uri') - $outerQuery->createFunction($innerQuery->getSQL()) - $calendarObjectIdQuery->createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY) - $query->createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY) - + '\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject' '\OCA\DAV\CalDAV\CalDavBackend::createCalendar' - '\OCA\DAV\CalDAV\CalDavBackend::updateCalendar' - '\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar' '\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject' '\OCA\DAV\CalDAV\CalDavBackend::createSubscription' - '\OCA\DAV\CalDAV\CalDavBackend::updateSubscription' + '\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar' + '\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject' '\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription' - '\OCA\DAV\CalDAV\CalDavBackend::updateShares' '\OCA\DAV\CalDAV\CalDavBackend::publishCalendar' + '\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::updateCalendar' + '\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::updateShares' + '\OCA\DAV\CalDAV\CalDavBackend::updateSubscription' array @@ -249,35 +178,30 @@ dispatch dispatch dispatch - purgeProperties dispatch dispatch dispatch dispatch dispatch + purgeProperties + Uri\split($principalUri) Uri\split($row['principaluri']) Uri\split($row['principaluri']) Uri\split($row['principaluri']) - Uri\split($principalUri) - - - parent::getOwner() - - \Sabre\CalDAv\Notifications\Collection + $calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri) new Inbox($this->caldavBackend, $this->principalInfo['uri']) new Outbox($this->config, $this->principalInfo['uri']) - new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']) new Subscription($this->caldavBackend, $subscription) - $calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri) + new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']) getChild @@ -311,27 +235,25 @@ - isFloating hasTime isFloating + isFloating - $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $l10n->l('date', $dt, ['width' => 'medium']) $l10n->l('datetime', $dt, ['width' => 'medium|short']) $l10n->l('time', $dt, ['width' => 'short']) - - - [$organizerEMail => $name] $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) + + $l10n->l('date', $dt, ['width' => 'medium']) $l10n->l('datetime', $dt, ['width' => 'medium|short']) $l10n->l('time', $dt, ['width' => 'short']) + $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) - - array|null + string string string @@ -339,22 +261,22 @@ getDateTime - isFloating getDateTime + isFloating - $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $this->l10n->l('date', $dt, ['width' => 'medium']) $this->l10n->l('datetime', $dt, ['width' => 'medium|short']) $this->l10n->l('time', $dt, ['width' => 'short']) + $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) - $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $this->l10n->l('date', $dt, ['width' => 'medium']) $this->l10n->l('datetime', $dt, ['width' => 'medium|short']) $this->l10n->l('time', $dt, ['width' => 'short']) + $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) string @@ -397,16 +319,12 @@ - $vevent->SUMMARY $vevent->LOCATION + $vevent->SUMMARY string - - [$sender => $senderName] - [$recipient => $recipientName] - $lang->getValue() @@ -414,18 +332,18 @@ getDateTime getDateTime getDateTime - hasTime getDateTime - isFloating getDateTime - setDateTime - hasTime - isFloating getDateTime - setDateTime getDateTime getDateTime + hasTime + hasTime + isFloating + isFloating isFloating + setDateTime + setDateTime $iTipMessage->message->VEVENT->SUMMARY @@ -440,14 +358,14 @@ split($principalUrl) - getChildren get + getChildren getDateTime - isFloating hasTime isFloating + isFloating principalSearch @@ -463,22 +381,13 @@ - - is_array($newProps['filters']['comps']) - is_array($newProps['filters']['props']) - is_array($newProps['filters']['params']) - + $webcalData - - - parent::getOwner() - - $id @@ -492,15 +401,10 @@ false - - $query->createParameter('principaluri') - $query->createParameter('uri') - $query->createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY) - '\OCA\DAV\CardDAV\CardDavBackend::createCard' - '\OCA\DAV\CardDAV\CardDavBackend::updateCard' '\OCA\DAV\CardDAV\CardDavBackend::deleteCard' + '\OCA\DAV\CardDAV\CardDavBackend::updateCard' array @@ -520,8 +424,8 @@ $addressBooks[$row['id']][$readOnlyPropertyName] === 0 - \Sabre\Uri\split($row['principaluri']) \Sabre\Uri\split($principalUri) + \Sabre\Uri\split($row['principaluri']) @@ -559,9 +463,7 @@ - - $shareEnumeration && $restrictShareEnumeration - + @@ -600,9 +502,7 @@ - - is_string($name) - + @@ -625,11 +525,6 @@ \Sabre\Uri\split($principal) - - - 'DummyBasic realm="' . $this->realm . '"' - - bool @@ -699,9 +594,9 @@ - \Sabre\Uri\split($source) \Sabre\Uri\split($destination) \Sabre\Uri\split($filePath) + \Sabre\Uri\split($source) @@ -718,12 +613,9 @@ new PreconditionFailed('Cannot filter by non-existing tag', 0, $e) - - \OCA\Circles\Api\v1\Circles - - getPath getById + getPath @@ -739,15 +631,15 @@ $this->info->getId() - \Sabre\Uri\split($this->path) \Sabre\Uri\split($name) + \Sabre\Uri\split($this->path) - \Sabre\Uri\split($path) \Sabre\Uri\split($destinationPath) \Sabre\Uri\split($destinationPath) + \Sabre\Uri\split($path) @@ -769,10 +661,6 @@ null null - - \OCA\Circles\Api\v1\Circles - \OCA\Circles\Api\v1\Circles - \Sabre\Uri\split($path) \Sabre\Uri\split($prefix) @@ -815,11 +703,11 @@ \Sabre\Uri\split($sabreNode->getPath()) + getId getId getId getPath getPath - getId $server->xml->namespacesMap @@ -836,17 +724,6 @@ getId - - - $guests - - - $vEvent->DTSTAMP - - - $vEvent->{'ATTENDEE'} - - $whereValues @@ -908,8 +785,8 @@ - $operator->arguments $argument + $operator->arguments $value @@ -945,11 +822,6 @@ $this->usersToDelete - - - $qb->createParameter('ids') - - $publicCalendarRoot->disableListing @@ -969,12 +841,12 @@ getDateTime getDateTime - isFloating getDateTime - setDateTime + getDateTime hasTime isFloating - getDateTime + isFloating + setDateTime setDateTime @@ -987,8 +859,8 @@ - 'OCA\DAV\Connector\Sabre::authInit' 'OCA\DAV\Connector\Sabre::addPlugin' + 'OCA\DAV\Connector\Sabre::authInit' dispatch @@ -1036,15 +908,15 @@ $members + \Sabre\Uri\split($member) \Sabre\Uri\split($principal) \Sabre\Uri\split($principal) \Sabre\Uri\split($principalUri) - \Sabre\Uri\split($member) \Sabre\Uri\split($principalUri) - \Sabre\Uri\split($realPrincipalUri) \Sabre\Uri\split($principalUri) \Sabre\Uri\split($principalUri) \Sabre\Uri\split($principalUri) + \Sabre\Uri\split($realPrincipalUri) @@ -1069,61 +941,14 @@ \Sabre\Uri\split($this->principalInfo['uri']) - - - 'UserSetup' - 'KeyManager' - 'UserSetup' - 'Util' - 'Session' - 'Crypt' - 'Recovery' - 'Crypt' - 'KeyManager' - 'Util' - 'Session' - 'EncryptAll' - 'DecryptAll' - 'Crypt' - 'Util' - 'Crypt' - 'KeyManager' - 'Recovery' - 'Session' - 'KeyManager' - 'Crypt' - 'Session' - 'Util' - 'Crypt' - 'KeyManager' - 'Crypt' - 'UserSetup' - 'KeyManager' - 'Util' - 'Util' - 'KeyManager' - 'Crypt' - 'Session' - - - - - $result - - - - $userSession && $userSession->isLoggedIn() - + - - [$to => $recipientDisplayName] - - setSubject setHtmlBody setPlainBody + setSubject @@ -1148,20 +973,15 @@ throw $exception; - - $userSession && $userSession->isLoggedIn() - $encryptedFileKey && $shareKey - + - 1 0 0 + 1 - - $userSession && $userSession->isLoggedIn() - + @@ -1169,14 +989,10 @@ - - $userSession && $userSession->isLoggedIn() - + - - $userSession && $userSession->isLoggedIn() - + @@ -1184,31 +1000,7 @@ - - - $remoteId - $id - $id - $id - $id - $id - $id - - - - $permission === null - $remoteId === null - - - - $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) - $shares @@ -1237,13 +1029,13 @@ string - + $id $id $id - (int)$share['id'] $id $id + (int)$share['id'] @@ -1291,11 +1083,6 @@ $this - - - $query->createNamedParameter($favorites['items'], IQueryBuilder::PARAM_STR_ARRAY) - - $this->fileEncrypted[$fileId] @@ -1320,9 +1107,9 @@ - 0 $offset $offset + 0 @@ -1356,25 +1143,6 @@ int - - - $templateId - - - open - getTemplates - - - - - $fileId - - - getById - getRelativePath - getRelativePath - - $file @@ -1427,11 +1195,6 @@ $this - - - run - - $mountId @@ -1452,9 +1215,6 @@ - - $qb->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY, ':storage_ids') - $input->getArgument('mount_id') $storage @@ -1475,8 +1235,8 @@ $mountId - $status $e->getCode() + $status @@ -1484,19 +1244,6 @@ new $objectClass($objectStore) - - - $this->service->getVisibilityType() - $this->service->getVisibilityType() - $status - $e->getCode() - - - - - getUniqueStorages - - self @@ -1516,8 +1263,8 @@ - IdentifierTrait $this->deprecateTo + IdentifierTrait @@ -1546,10 +1293,6 @@ - - false - false - $this->handle $this->handle @@ -1568,11 +1311,6 @@ - - false - false - false - $this->handle $this->handle @@ -1591,9 +1329,6 @@ - - false - $files @@ -1632,9 +1367,6 @@ filetype fopen - - $content - @@ -1643,10 +1375,10 @@ - setIV + decrypt encrypt setIV - decrypt + setIV string @@ -1667,9 +1399,6 @@ - - $builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY) - null @@ -1709,12 +1438,6 @@ $_ - - - 'ExternalMountProvider' - '\OCP\Collaboration\Resources::loadAdditionalScripts' - - false @@ -1722,17 +1445,6 @@ null - - $entry - $entry - $entry - $entry - $entry - $entry - $entry - $entry - $entry - @@ -1744,81 +1456,12 @@ getUserFolder - - - '\OCA\Talk\Share\Helper\DeletedShareAPIController' - - - $this->getRoomShareHelper() - \OCA\Talk\Share\Helper\DeletedShareAPIController - - - - - 'https' - 'http' - - - - - Constants::PERMISSION_ALL - $code - $code - - - null - - - $date === false - - - \OCA\Circles\Api\v1\Circles - '\OCA\Talk\Share\Helper\ShareAPIController' - \OCA\Circles\Api\v1\Circles - - - $this->getRoomShareHelper() - $this->getRoomShareHelper() - $this->getRoomShareHelper() - \OCA\Talk\Share\Helper\ShareAPIController - - - - - 'Share is read-only' - $files_list - - - $maxUploadFilesize - $maxUploadFilesize - $freeSpace - - - null - - - - - $password - - null - - - $result - $result - $result - $file - - - - $query->createFunction('(' . $select . ')') - (int) $remoteShare @@ -1835,10 +1478,6 @@ $cacheData - - $existingChild - $existingChild - @@ -1853,22 +1492,6 @@ $legacyEvent - - - $exception->getMessage() - - - new JSONResponse($exception->getMessage(), 405) - - - NotFoundResponse - - - - - $query->createNamedParameter([IShare::TYPE_USER, IShare::TYPE_GROUP, IShare::TYPE_USERGROUP], IQueryBuilder::PARAM_INT_ARRAY) - - $itemSource @@ -1889,28 +1512,27 @@ - + $this->sourceRootInfo false false false - $this->nonMaskedStorage->fopen($this->getUnjailedPath($path), $mode) ICacheEntry $this->getPermissions($path) & \OCP\Constants::PERMISSION_CREATE - $this->getPermissions($path) & \OCP\Constants::PERMISSION_UPDATE $this->getPermissions($path) & \OCP\Constants::PERMISSION_DELETE $this->getPermissions($path) & \OCP\Constants::PERMISSION_SHARE + $this->getPermissions($path) & \OCP\Constants::PERMISSION_UPDATE new FailedCache() isCreatable - isUpdatable isDeletable isSharable + isUpdatable $this->sourceRootInfo @@ -1935,11 +1557,6 @@ dispatch - - - 'Expiration' - - int @@ -1949,9 +1566,6 @@ - - ITrash - $entry @@ -1978,9 +1592,6 @@ - - ITrash - $entry @@ -2019,10 +1630,6 @@ $timestamp $timestamp - - 'Expiration' - 'Expiration' - @@ -2068,130 +1675,11 @@ getURLGenerator - - - $publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value'] - $publicData[IAccountManager::PROPERTY_EMAIL]['value'] - $publicData[IAccountManager::PROPERTY_ADDRESS]['value'] - $publicData[IAccountManager::PROPERTY_WEBSITE]['value'] - $publicData[IAccountManager::PROPERTY_TWITTER]['value'] - $publicData[IAccountManager::PROPERTY_PHONE]['value'] - $publicData[IAccountManager::PROPERTY_TWITTER]['signature'] - $publicData[IAccountManager::PROPERTY_WEBSITE]['signature'] - $publicData[IAccountManager::PROPERTY_WEBSITE]['verified'] - $publicData[IAccountManager::PROPERTY_TWITTER]['verified'] - - - $this->retries + 1 - - - - - $this->request->server - - - - - getName - getRedirectUri - getClientIdentifier - getSecret - - - - - - - - - - - getSubAdmin - - - - - $quota - - - $groupid === null || trim($groupid) === '' - - - $groupid === null - - - getSubAdmin - - - - - \OC_User::getUser() - - - 'ServerContainer' - - - getSettingsManager - - $jobList - - - ignoreNextcloudRequirementForApp - - - - - IDBConnection::CHECK_MISSING_INDEXES_EVENT - IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT - IDBConnection::CHECK_MISSING_COLUMNS_EVENT - - - $lastCronRun - - - new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.') - $response - - - DataResponse - - - 0 - $lastCronRun - - - dispatch - dispatch - dispatch - - - - - $this->l10n->t('Invalid SMTP password.') - $this->l10n->t('A problem occurred while sending the email. Please revise your settings. (Error: %s)', [$e->getMessage()]) - $this->l10n->t('You need to set your user email before being able to send test emails.') - - - - - 'OC\Settings\Users::loadAdditionalScripts' - - - - - [$user->getEMailAddress() => $user->getDisplayName()] - - - - - [$user->getEMailAddress() => $user->getDisplayName()] - - isReady @@ -2238,9 +1726,6 @@ - - $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) - $shares @@ -2248,9 +1733,9 @@ getSharesInFolder + $share->getId() $shareId $shareId - $share->getId() (int)$data['id'] @@ -2260,32 +1745,10 @@ $event->getObjectId() - - - $type - $type - $this->config->getAppValue('testing', $lock) - $this->config->getAppValue('testing', $lock) - $this->config->getAppValue('testing', $lock) - - - - - $response - - - FileDisplayResponse|NotFoundResponse - - - $iconFile !== false - $iconFile !== false - $iconFile !== false - - - $offset_w $offset_h + $offset_w @@ -2315,44 +1778,19 @@ $folder !== null - - - $registry - - - run - - - getProviderStates - - - - - bool - - bool - - - $newToken - - - 0 - $this->timeFactory->getTime() - - $this->users - 0 $errors 0 + 0 @@ -2391,46 +1829,32 @@ $record - $values $uuid + $values string[] - + $e->getCode() $key $key - [$attr => $result['values']] $cookie - + !isset($ldapName[0]) && empty($ldapName[0]) - is_null($limit) - !is_null($limit) && (int)$this->connection->ldapPagingSize !== 0 is_array($result) - $limit === 0 && !empty($this->lastCookie) - is_null($findings) !$attribute === null + is_null($findings) - - is_array($attr) + !is_null($attr) && !is_array($attr) - isset($ldapRecord[$this->connection->$uuidAttr]) - - - 'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded' - - - dispatch - - time() @@ -2454,11 +1878,11 @@ $this->cachedGroupsByMember[$uid] + $this->cachedGroupsByMember + $this->cachedNestedGroups new CappedMemoryCache() new CappedMemoryCache() new CappedMemoryCache() - $this->cachedNestedGroups - $this->cachedGroupsByMember $groupName @@ -2471,8 +1895,8 @@ $groupID - is_array($list) is_array($groupDNs) + is_array($list) @@ -2487,21 +1911,21 @@ - 0 $newOffset + 0 50 - $lastChange $i + $lastChange - self::MIN_INTERVAL $interval 0 0 + self::MIN_INTERVAL $argument @@ -2523,46 +1947,46 @@ + $baseDN + $baseDN $link $link - $result $link $link $link - $result $link - $result $link - $result $link - $result $link $link - $baseDN $link - $baseDN $link $link $link $resource + $result + $result + $result + $result + $result $baseDN + array|mixed + array|mixed + bool|mixed + bool|mixed bool|mixed - mixed|true mixed mixed - array|mixed - mixed|string - array|mixed mixed mixed mixed - bool|mixed + mixed|string + mixed|true mixed|true - bool|mixed Resource @@ -2585,12 +2009,6 @@ bool - - - $qb->createNamedParameter($dnList, QueryBuilder::PARAM_STR_ARRAY) - $qb->createNamedParameter($fdnsSlice, QueryBuilder::PARAM_STR_ARRAY) - - protected function handleRequest($id, $method, $parameters, $passOnWhen = false) { @@ -2614,8 +2032,8 @@ $this->getHomePath($ldapEntry[$attr][0]) - true 1 + true @@ -2623,9 +2041,9 @@ string|false - $path $limit $offset + $path $limit @@ -2635,62 +2053,37 @@ null - - - $users - - false false + $attributes $er $er $er - $attributes - private function detectGroupMemberAssoc() { private function checkAgentRequirements() { + private function detectGroupMemberAssoc() { private function getAttributeValuesFromEntry($result, $attribute, &$known) { $port $port - LDAP_OPT_PROTOCOL_VERSION - LDAP_OPT_REFERRALS LDAP_OPT_NETWORK_TIMEOUT + LDAP_OPT_NETWORK_TIMEOUT + LDAP_OPT_PROTOCOL_VERSION LDAP_OPT_PROTOCOL_VERSION LDAP_OPT_REFERRALS - LDAP_OPT_NETWORK_TIMEOUT + LDAP_OPT_REFERRALS - - is_array($item['cn']) - !isset($item['cn']) && !is_array($item['cn']) && !isset($item['cn'][0]) - + $total === false - - - registerProvider - - - - - run - - - - - $qb->createNamedParameter([IUserStatus::ONLINE, IUserStatus::AWAY, IUserStatus::OFFLINE], IQueryBuilder::PARAM_STR_ARRAY) - $qb->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY) - - - string|null @@ -2734,29 +2127,16 @@ ['app' => Application::APP_ID, 'class' => get_class($subject)] - - - $deleted - - - $e->getCode() - $e->getCode() - $e->getCode() - - string - - $query->createNamedParameter($checkIds, IQueryBuilder::PARAM_INT_ARRAY) - + IManager::EVENT_NAME_REG_CHECK IManager::EVENT_NAME_REG_ENTITY IManager::EVENT_NAME_REG_OPERATION - IManager::EVENT_NAME_REG_CHECK [] @@ -2787,18 +2167,13 @@ - isUserScopeEnabled - getOperations getAllConfiguredScopesForOperation - getOperations getChecks + getOperations + getOperations + isUserScopeEnabled - - - 'OCP\WorkflowEngine::loadAdditionalSettingScripts' - - getSection @@ -2807,11 +2182,6 @@ $this->manager->isUserScopeEnabled() ? 'workflow' : null - - - run - - @@ -2833,11 +2203,6 @@ array - - - 'broadcasttest' - - null|int @@ -2897,8 +2262,8 @@ setFilterSchemaAssetsExpression - $chunkSize $chunk * $chunkSize + $chunkSize 0 @@ -2976,16 +2341,16 @@ 0 - 1 - 1 - 1 0 - 1 0 0 0 0 0 + 1 + 1 + 1 + 1 $this->installer @@ -2999,73 +2364,20 @@ $input->getOption('default-value') - - - 'app_password_created' - - - dispatch - - - - - 'app_password_created' - - - dispatch - - - - - !is_string($stateToken) || !is_string($currentToken) - is_string($stateToken) - - - is_string($stateToken) - - - - - searchCollections - - - - - $svg === null - - - - - null - - - findMatchingRoute - - - - - $this->request->server - - - - - $qb->func()->lower('uid') - - 0 - 1 0 - 1 0 - 1 0 - 1 0 0 0 0 + 1 + 1 + 1 + 1 @@ -3087,8 +2399,8 @@ - getIncompatibleApps getAppsNeedingUpgrade + getIncompatibleApps $restrictions @@ -3128,9 +2440,9 @@ + ManagerEvent::EVENT_APP_DISABLE ManagerEvent::EVENT_APP_ENABLE ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS - ManagerEvent::EVENT_APP_DISABLE array @@ -3232,9 +2544,6 @@ \OCP\IServerContainer mixed - - 'AppName' - getAppDataDir @@ -3261,18 +2570,16 @@ - - $this->server[$name] - $this->method - isset($this->files[$key]) ? $this->files[$key] : null - isset($this->env[$key]) ? $this->env[$key] : null - isset($this->cookies[$key]) ? $this->cookies[$key] : null - $this->server['UNIQUE_ID'] - $remoteAddress - $uri + + $host $name + $remoteAddress $this->getOverwriteHost() - $host + $this->method + $uri + isset($this->cookies[$key]) ? $this->cookies[$key] : null + isset($this->env[$key]) ? $this->env[$key] : null + isset($this->files[$key]) ? $this->files[$key] : null \is_array($params) @@ -3286,73 +2593,10 @@ log - - - TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS - TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN - - - dispatch - dispatch - - - - - setOCSVersion - - - $code - - - - - $exception->getCode() - - - $this->request->server - $this->request->server - $this->request->server - - - - - $userLimit - $userPeriod - $anonLimit - $anonPeriod - $exception->getCode() - $exception->getCode() - - - - - $exception->getCode() - $exception->getCode() - - - $this->request->server - - - \OCA\Talk\Controller\PageController - - - - - $meta - - - - - $meta - - $action['url-postfix'] - - strtolower - @@ -3380,67 +2624,27 @@ - - $trySession && $this->session->exists('login_credentials') - - - - - parent::getLoginName() - parent::getPassword() - parent::getLastCheck() - parent::setLastCheck($time) - parent::getScope() - parent::setScope(json_encode($scope)) - parent::setScope((string)$scope) - parent::getName() - parent::setName($name) - parent::getRemember() - parent::setToken($token) - parent::setPassword($password) - parent::setExpires($expires) - parent::getExpires() - + $token - - - parent::getLoginName() - parent::getPassword() - parent::getLastCheck() - parent::setLastCheck($time) - parent::getScope() - parent::setScope(json_encode($scope)) - parent::setScope((string)$scope) - parent::getName() - parent::setName($name) - parent::getRemember() - parent::setToken($token) - parent::setPassword($password) - parent::setExpires($expires) - parent::getExpires() - parent::setPasswordInvalid($invalid) - parent::setType(IToken::WIPE_TOKEN) - - $providers - string[] int[] + string[] - IProvider::EVENT_SUCCESS - IProvider::EVENT_FAILED $tokenId + IProvider::EVENT_FAILED + IProvider::EVENT_SUCCESS $providerStates @@ -3449,9 +2653,9 @@ string[] - $tokenId - $token->getId() $this->timeFactory->getTime() + $token->getId() + $tokenId dispatch @@ -3463,8 +2667,8 @@ $this->providers - [] $this->providers + [] $this->providers @@ -3505,9 +2709,9 @@ ISimpleFile - (int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1 $data $data + (int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1 @@ -3571,11 +2775,6 @@ null - - - $needsUpdate - - ConsoleEvent::EVENT_RUN @@ -3633,9 +2832,9 @@ - bool - array IAddressBook + array + bool null @@ -3659,16 +2858,13 @@ - - string - - $this->adapter->lastInsertId($seqName) $insertQb->execute() + $this->adapter->lastInsertId($seqName) - string int + string $e->getCode() @@ -3701,16 +2897,16 @@ $offset - $this->migrationsPath $this->migrationsNamespace - $this->migrationsPath $this->migrationsNamespace + $this->migrationsPath + $this->migrationsPath - $this->migrationsPath $this->migrationsNamespace $this->migrationsNamespace $this->migrationsPath + $this->migrationsPath @@ -3720,8 +2916,8 @@ setFilterSchemaAssetsExpression - '\OC\DB\Migrator::executeSql' '\OC\DB\Migrator::checkTable' + '\OC\DB\Migrator::executeSql' dispatch @@ -3852,11 +3048,6 @@ bool - - - dispatch - - $this->event->offsetSet($key, $value) @@ -3876,15 +3067,8 @@ $eventName - - dispatch - - - $fun->md5($newPathFunction) - $newPathFunction - $parentData @@ -3900,50 +3084,24 @@ null null - - $sourceData - $sourceData - $parentData - $parentData - $entry - - - - - $this->createNamedParameter($parents, IQueryBuilder::PARAM_INT_ARRAY) - [] - put - insert getIncomplete + insert + put - - $data - - - $path - - - $entry - $entry - $entry - $filesData - $data - - - - - $builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT)) - $query->func()->greatest('mtime', $query->createParameter('time')) - $sizeQuery->func()->add('size', $sizeQuery->createParameter('size')) - + + $data + + + $path + @@ -3964,12 +3122,6 @@ $path self::SCAN_RECURSIVE_INCOMPLETE - - $data ?? $this->getData($file) - - - $child - @@ -3979,23 +3131,11 @@ self::getGlobalCache()->getStorageInfo($storageId) - - - $builder->createNamedParameter(array_values($storageIds), IQueryBuilder::PARAM_STR_ARRAY) - - $this->cache instanceof Cache - - - $cachedData - $entry - $entry - - array @@ -4010,20 +3150,6 @@ array array - - $entry - - - - - $entry - - - formatCacheEntry - - - $entry - @@ -4050,35 +3176,24 @@ - - $builder->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY) - - removeUserStorageMount remoteStorageMounts + removeUserStorageMount array + $this->cacheInfoCache + $this->cacheInfoCache + $this->cacheInfoCache $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers - $this->cacheInfoCache - $this->cacheInfoCache - $this->cacheInfoCache - - - - - $this->data - $data - $data - $data @@ -4132,8 +3247,8 @@ - new NonExistingFile($this->root, $this->view, $path) $this->view->hash($type, $this->path, $raw) + new NonExistingFile($this->root, $this->view, $path) string @@ -4152,12 +3267,12 @@ string - new NonExistingFolder($this->root, $this->view, $path) $this->root->get($this->getFullPath($path)) + new NonExistingFolder($this->root, $this->view, $path) - string \OC\Files\Node\Node + string $node @@ -4166,8 +3281,8 @@ null - getUnJailedPath getSourceStorage + getUnJailedPath $this->exists @@ -4175,18 +3290,18 @@ - '\OCP\Files::preWrite' - '\OCP\Files::postWrite' - '\OCP\Files::preCreate' + '\OCP\Files::postCopy' '\OCP\Files::postCreate' - '\OCP\Files::preDelete' '\OCP\Files::postDelete' - '\OCP\Files::preTouch' - '\OCP\Files::postTouch' - '\OCP\Files::preRename' '\OCP\Files::postRename' + '\OCP\Files::postTouch' + '\OCP\Files::postWrite' '\OCP\Files::preCopy' - '\OCP\Files::postCopy' + '\OCP\Files::preCreate' + '\OCP\Files::preDelete' + '\OCP\Files::preRename' + '\OCP\Files::preTouch' + '\OCP\Files::preWrite' '\OCP\Files::read' @@ -4236,15 +3351,15 @@ int - $this->root->get($newPath) $targetNode $targetNode + $this->root->get($newPath) Node - getChecksum \OC\Files\Node\Node \OC\Files\Node\Node + getChecksum $this->getFileInfo()->getId() @@ -4258,16 +3373,16 @@ - string Node + string - \OC\User\User \OC\Files\Mount\MountPoint - int + \OC\User\User array int int + int string @@ -4277,8 +3392,8 @@ string - $this->user $this->mountManager->find($mountPoint) + $this->user null null null @@ -4304,12 +3419,6 @@ $source $target - - $child - $child - $child - $file - @@ -4350,11 +3459,6 @@ stream_for($handle) - - - $this->params['url'] - - string|false @@ -4365,19 +3469,13 @@ !$permissions - - $count - - - file_put_contents - $storage->cache $storage->cache - $storage->scanner - $storage->scanner $storage->propagator $storage->propagator + $storage->scanner + $storage->scanner $storage->updater $storage->updater @@ -4386,9 +3484,6 @@ - - int - ArrayCache ArrayCache @@ -4396,13 +3491,11 @@ getETag - + $response->getBody() - $result - + fopen - int null @@ -4410,20 +3503,15 @@ null - - $cachedData - $cachedData - $cachedData - - true new FailedCache() + true - verifyPath getCache + verifyPath $this->e->getCode() @@ -4476,9 +3564,9 @@ $source - $target $source $target + $target @@ -4487,20 +3575,18 @@ $helper->getFileSize($fullPath) - file_put_contents($this->getSourcePath($path), $data) $space filesize - file_put_contents free_space $helper->getFileSize($fullPath) - is_null($space) $space === false || is_null($space) + is_null($space) $stat === false @@ -4514,59 +3600,45 @@ - mkdir - rmdir - opendir - is_dir - is_file - stat - filesize - isCreatable - isReadable - isUpdatable - isDeletable - isSharable - getPermissions + copy + copyFromStorage file_exists - filemtime file_get_contents file_put_contents - unlink - rename - copy + filemtime + filesize fopen - getMimeType - hash free_space - search - touch + getDirectDownload + getETag getLocalFile - hasUpdated + getMimeType getOwner - getETag - getDirectDownload - copyFromStorage + getPermissions + hasUpdated + hash + isCreatable + isDeletable + isReadable + isSharable + isUpdatable + is_dir + is_file + mkdir moveFromStorage + opendir + rename + rmdir + search + stat + touch + unlink \Traversable - - $this->storage->opendir($this->findPathToUse($path)) - $this->storage->stat($this->findPathToUse($path)) - $this->storage->filesize($this->findPathToUse($path)) - $this->storage->filemtime($this->findPathToUse($path)) - $this->storage->file_get_contents($this->findPathToUse($path)) - $result - $this->storage->getMimeType($this->findPathToUse($path)) - $this->storage->hash($type, $this->findPathToUse($path), $raw) - $this->storage->free_space($this->findPathToUse($path)) - $this->storage->search($query) - $this->storage->getLocalFile($this->findPathToUse($path)) - $this->storage->getETag($this->findPathToUse($path)) - bool @@ -4593,12 +3665,8 @@ - - $this->storage->filesize($path) + false - $this->storage->file_get_contents($path) - $this->storage->getLocalFile($path) - $stat resource|bool @@ -4608,8 +3676,8 @@ $target - $written $newUnencryptedSize + $written bool @@ -4619,31 +3687,8 @@ $lastChunkPos $newUnencryptedSize - - $info - $info - $info - $entry - $sourceStorage->getCache()->get($sourceInternalPath) - $info - $info - - - $this->getWrapperStorage()->opendir($this->getUnjailedPath($path)) - $this->getWrapperStorage()->stat($this->getUnjailedPath($path)) - $this->getWrapperStorage()->filesize($this->getUnjailedPath($path)) - $this->getWrapperStorage()->filemtime($this->getUnjailedPath($path)) - $this->getWrapperStorage()->file_get_contents($this->getUnjailedPath($path)) - $this->getWrapperStorage()->fopen($this->getUnjailedPath($path), $mode) - $this->getWrapperStorage()->getMimeType($this->getUnjailedPath($path)) - $this->getWrapperStorage()->hash($type, $this->getUnjailedPath($path), $raw) - $this->getWrapperStorage()->free_space($this->getUnjailedPath($path)) - $this->getWrapperStorage()->search($query) - $this->getWrapperStorage()->getLocalFile($this->getUnjailedPath($path)) - $this->getWrapperStorage()->getETag($this->getUnjailedPath($path)) - bool @@ -4660,10 +3705,6 @@ - - $this->storage->free_space($path) - $source - $extension === 'part' @@ -4677,26 +3718,8 @@ $source $target - - $data - - - $this->getWrapperStorage()->opendir($path) - $this->getWrapperStorage()->stat($path) - $this->getWrapperStorage()->filesize($path) - $this->getWrapperStorage()->filemtime($path) - $this->getWrapperStorage()->file_get_contents($path) - $this->getWrapperStorage()->fopen($path, $mode) - $this->getWrapperStorage()->getMimeType($path) - $this->getWrapperStorage()->hash($type, $path, $raw) - $this->getWrapperStorage()->free_space($path) - $this->getWrapperStorage()->search($query) - $this->getWrapperStorage()->getLocalFile($path) - $this->getWrapperStorage()->getETag($path) - $this->getWrapperStorage()->getDirectDownload($path) - bool @@ -4710,11 +3733,6 @@ - - false - false - false - $this->current $this->current @@ -4725,9 +3743,6 @@ - - $update->func()->lower('name') - $update->execute() @@ -4749,8 +3764,8 @@ $mount - string \OCP\Files\Mount\IMountPoint + string $results @@ -4759,74 +3774,41 @@ \OC\Files\Mount\MountPoint + $fileId $mtime $user - $fileId - null + $mount Filesystem::getMountManager()->find($this->getAbsolutePath($path)) null null null - $mount + null + $result && in_array('delete', $hooks) and $result $storage1 is_resource($source) - $result && in_array('delete', $hooks) and $result - [$storage, $internalPath] $storage + [$storage, $internalPath] - - $data - $data - $data - $data - $content - $content - $content - $content - $content - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - $rootEntry - is_null($this->getContent()) - - - - $this->groupCache[$gid]['displayname'] - - - $this->groupCache - $this->groupCache - $this->groupCache - - - IGroup::class . '::preAddUser' IGroup::class . '::postAddUser' - IGroup::class . '::preRemoveUser' + IGroup::class . '::postDelete' IGroup::class . '::postRemoveUser' + IGroup::class . '::preAddUser' IGroup::class . '::preDelete' - IGroup::class . '::postDelete' + IGroup::class . '::preRemoveUser' $hide @@ -4844,9 +3826,9 @@ addToGroup - removeFromGroup countUsersInGroup deleteGroup + removeFromGroup @@ -4856,15 +3838,9 @@ $groupId - - $groups - - - \OC\Group\Group[] - - getGroupDetails createGroup + getGroupDetails isAdmin @@ -4874,11 +3850,6 @@ self::SORT_NONE - - - null - - string|resource @@ -4938,13 +3909,6 @@ $data - - - $query->func()->subtract('lock', $query->createNamedParameter(1)) - $builder->func()->subtract('lock', $builder->expr()->literal(1)) - $builder->createNamedParameter($chunk, IQueryBuilder::PARAM_STR_ARRAY) - - get @@ -4959,16 +3923,16 @@ - getPermissions getOwner + getPermissions new IteratorDirectory([]) new NullCache() - opendir getCache + opendir null @@ -4987,14 +3951,7 @@ - - $request && hash_equals($logCondition['shared_secret'], $logSecretRequest) - - - - - $limit === null ||$entriesCount < $limit - + @@ -5012,24 +3969,16 @@ $failedRecipients + getSubject getSwiftMessage getTo - getSubject - - apcu_store($this->getPrefix() . $key, $value, $ttl) - apcu_exists($this->getPrefix() . $key) - apcu_delete($this->getPrefix() . $key) - apcu_delete($iter) + apcu_add($this->getPrefix() . $key, $value, $ttl) - - - set - hasKey - remove - clear + + bool @@ -5041,18 +3990,10 @@ mixed - - - $lockingCacheClass && class_exists($distributedCacheClass) && $lockingCacheClass::isAvailable() - - method_exists(self::$cache, 'deleteMulti') - - \Memcached::HAVE_IGBINARY - @@ -5065,12 +4006,6 @@ $jobList - - - !($notification instanceof INotification) || !$notification->isValidParsed() - !($notification instanceof INotification) || !$notification->isValidParsed() - - [] @@ -5083,8 +4018,8 @@ - IPreview::EVENT $maxPreviewImage + IPreview::EVENT ISimpleFile @@ -5103,13 +4038,13 @@ dispatch - valid height - width - width height preciseResizeCopy resizeCopy + valid + width + width @@ -5149,11 +4084,6 @@ ?IImage - - - $file->getStorage()->getLocalFile($file->getInternalPath()) - - $svg @@ -5167,8 +4097,8 @@ - new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password']) new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout) + new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password']) \RedisCluster::OPT_SLAVE_FAILOVER @@ -5198,17 +4128,11 @@ dispatch - - - $query->createNamedParameter($users, IQueryBuilder::PARAM_STR_ARRAY) - $qb->createParameter('ids') - - - - $subQuery->createFunction('(' . $subSubQuery->getSQL() . ')') + $query->createFunction('(' . $subQuery->getSQL() . ')') $query->createFunction('(' . $subQuery->getSQL() . ')') + $subQuery->createFunction('(' . $subSubQuery->getSQL() . ')') $this->userToNotify @@ -5220,11 +4144,6 @@ \Doctrine\DBAL\Driver\Statement - - - $permsFunc - - \OC_APP @@ -5244,14 +4163,6 @@ $provider instanceof Provider - - - $data->getId() - $data->getPermissions() - $data->getMtime() - $this->hasPreview($data) - - null @@ -5286,12 +4197,12 @@ - setPassword - setIV + decrypt encrypt - setPassword setIV - decrypt + setIV + setPassword + setPassword @@ -5310,27 +4221,9 @@ $uid - - $userId - dispatch - - 'SystemTagManagerFactory' - 'SystemTagManagerFactory' - 'RootFolder' - 'EncryptionFileHelper' - 'EncryptionKeyStorage' - 'RedisFactory' - 'OcsClient' - 'AsyncCommandBus' - 'ThemingDefaults' - 'IntegrityCodeChecker' - 'CryptoWrapper' - 'LDAPProvider' - 'LockdownManager' - \OC\OCSClient @@ -5375,12 +4268,6 @@ array - - - $query->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY) - $query->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) - - false @@ -5392,9 +4279,9 @@ !self::isResharingAllowed() - \OC_User::getUser() $shareWith \OC_User::getUser() + \OC_User::getUser() getParents @@ -5402,12 +4289,6 @@ - - $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY) - $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) - $shares @@ -5429,30 +4310,27 @@ - 'OCP\Share::preShare' - 'OCP\Share::postShare' + $data 'OCP\Share::postAcceptShare' - 'OCP\Share::preUnshare' + 'OCP\Share::postShare' 'OCP\Share::postUnshare' 'OCP\Share::postUnshareFromSelf' - $data + 'OCP\Share::preShare' + 'OCP\Share::preUnshare' - $this->shareApiLinkDefaultExpireDays() $id + $this->shareApiLinkDefaultExpireDays() dispatch dispatch - update dispatch dispatch dispatch dispatch + update - - \OCA\Circles\Api\v1\Circles - getChildren @@ -5462,17 +4340,16 @@ FederatedShareProvider ShareByMailProvider - - $this->shareByCircleProvider - $this->roomShareProvider + $provider $provider $shares + $this->shareByCircleProvider + getAllProviders getProvider getProviderForType - getAllProviders null @@ -5482,16 +4359,8 @@ null null - - \OCA\Circles\ShareByCircleProvider - '\OCA\Talk\Share\RoomShareProvider' - - - \OCA\Circles\ShareByCircleProvider - \OCA\Talk\Share\RoomShareProvider + RoomShareProvider - private $shareByCircleProvider = null; - private $roomShareProvider = null; getLazyRootFolder @@ -5516,8 +4385,8 @@ - getSupportedApps countUsers + getSupportedApps @@ -5526,15 +4395,10 @@ false false - - $query->createParameter('tagids') - $query->createParameter('tagids') - $query->createParameter('tagids') - ManagerEvent::EVENT_CREATE - ManagerEvent::EVENT_UPDATE ManagerEvent::EVENT_DELETE + ManagerEvent::EVENT_UPDATE bool @@ -5547,12 +4411,6 @@ - - $query->createParameter('objectids') - $query->createNamedParameter($tagIds, IQueryBuilder::PARAM_INT_ARRAY) - $query->createParameter('tagids') - $query->createParameter('objectids') - MapperEvent::EVENT_ASSIGN MapperEvent::EVENT_UNASSIGN @@ -5596,16 +4454,13 @@ - $this->appendIfExist($this->serverroot, 'core/'.$script.'.js') - $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js') $this->appendIfExist($this->serverroot, $script.'.js') $this->appendIfExist($this->serverroot, $theme_dir.$script.'.js') - $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js') $this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js') + $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js') + $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js') + $this->appendIfExist($this->serverroot, 'core/'.$script.'.js') - - $found - @@ -5618,9 +4473,9 @@ string - \OC_User::getUser() $appName $appName + \OC_User::getUser() Util::addScript('dist/unified-search', null, true) @@ -5638,17 +4493,17 @@ 0 0 - 1 0 - 1 - 1 0 - 1 0 0 0 0 0 + 1 + 1 + 1 + 1 \OC_DB::simulateUpdateDbFromStructure(\OC_App::getAppPath($appId) . '/appinfo/database.xml') @@ -5656,8 +4511,8 @@ - time() microtime(true) + time() @@ -5666,26 +4521,10 @@ $offset - - - false - - - $query->func()->lower('displayname') - - - - $offset - $offset - - array|int - - $queryBuilder->createNamedParameter($groups, IQueryBuilder::PARAM_STR_ARRAY) - bool|IUser @@ -5699,8 +4538,8 @@ checkPassword - createUser countUsers + createUser getUsersForUserValueCaseInsensitive @@ -5728,11 +4567,11 @@ - IUser::class . '::preDelete' + IUser::class . '::changeUser' IUser::class . '::postDelete' - IUser::class . '::preSetPassword' IUser::class . '::postSetPassword' - IUser::class . '::changeUser' + IUser::class . '::preDelete' + IUser::class . '::preSetPassword' getBackend @@ -5747,8 +4586,8 @@ IImage|null - $this->lastLogin $quota + $this->lastLogin $this->backend @@ -5761,11 +4600,11 @@ dispatch - setDisplayName + canChangeAvatar deleteUserAvatar - setPassword getHome - canChangeAvatar + setDisplayName + setPassword @@ -5797,9 +4636,6 @@ null - - $appId === null || trim($appId) === '' - dispatch @@ -5820,11 +4656,6 @@ $this->statement->fetchColumn($column) - - - $this->fallback - - \OC\InsufficientStorageException @@ -5832,9 +4663,9 @@ + $fh $fileInfos [$fileInfo] - $fh mt_rand() @@ -5859,23 +4690,21 @@ int - $path $includeExtStorage ? 'ext' : false + $path $quota 'ext' - - count($obd_values) > 0 and $obd_values[0] - + getSourceStorage + $this->resource $this->valid() ? imagesx($this->resource) : -1 $this->valid() ? imagesy($this->resource) : -1 - $this->resource null|string @@ -5888,8 +4717,6 @@ bool - $this->bitDepth - 90 $imagePath $imagePath $imagePath @@ -5903,15 +4730,15 @@ $imagePath $imagePath $imagePath + $this->bitDepth $x $y + 90 bool - - $isWritable && file_exists($filePath) - + @@ -5925,15 +4752,9 @@ - \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging) + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) - - $version - $version - $version - $version - OC_Helper::computerFileSize($userQuota) @@ -5945,167 +4766,18 @@ OC_User::getUser() - is_string($expected) 'off' + is_string($expected) is_bool($expected) - is_int($expected) is_bool($setting[1]) + is_int($expected) clearCache - - - 'DateTimeFormatter' - - - - - $cacheEntry - - - - - $this->request->server - - - - - ContainerExceptionInterface - - - - - string - - - $column - - - - - $this->data - - - array - - - - - $this->data - - - array - - - - - - - - $resource['size'] - $resource['resource'] - $resource['internalName'] - $resource['size'] - $resource['time'] - - - $this->resources - - - - - $jobList - - - - - WidgetSetting - - - null - - - - - mixed - - - - - \OC_App::getStorage($app) - - - - - string|false - - - - - array - - - string|false - - - - - IsearchRequest - - - - - public function getUri(): string; - - - - - Color - - - - - ContainerExceptionInterface - ContainerExceptionInterface - - - - - PreconditionNotMetException - - - - - $cursor - - - - - array - array|bool - mixed - - - - - \OC_User::getUser() - - - string - - - - - \OC_Helper::computerFileSize($str) - - - float - - $e->getCode() From c2f5f52eccbccdb7ef7da4f52d5765392ba063de Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 25 Oct 2021 09:54:28 +0200 Subject: [PATCH 2/4] Update baseline with clean checkout Signed-off-by: Vincent Petry --- build/psalm-baseline.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 7217b90912cb9..f12fab17c2a5a 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,5 +1,5 @@ - + $calendarData @@ -1363,9 +1363,8 @@ $object->lastModified - + filetype - fopen From a0effe9b7b74a289f11e805d6dd8bd5ce47b9464 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 27 Oct 2021 14:18:07 +0200 Subject: [PATCH 3/4] Add psalm:update-baseline script Signed-off-by: Joas Schilling --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 702b739306e56..05abbb83cdfa5 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ "cs:fix": "php-cs-fixer fix", "cs:check": "php-cs-fixer fix --dry-run --diff", "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l", - "psalm": "psalm" + "psalm": "psalm", + "psalm:update-baseline": "psalm --update-baseline --set-baseline=build/psalm-baseline.xml" } } From 6ee711b48b92f49a68a6e62461d0e796e2ac9945 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 27 Oct 2021 14:18:34 +0200 Subject: [PATCH 4/4] Push new baseline Signed-off-by: Joas Schilling --- build/psalm-baseline.xml | 1914 ++++++++++++++++++++++++++++++++------ 1 file changed, 1635 insertions(+), 279 deletions(-) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index f12fab17c2a5a..28772efbe640c 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,5 +1,10 @@ + + + string|null + + $calendarData @@ -36,16 +41,50 @@ array + + + $this->appRoot + + + $this->appRoot + $this->appRoot + + + + + $e->getCode() + + + is_array($notification) + + 10 + + + (int) $comment->getId() + + \Sabre\Uri\split($this->principalUri) + + + run + + + + + $propQuery->createFunction($addressbooksQuery->getSQL()) + $cardQuery->createFunction($propQuery->getSQL()) + $cardQuery->createFunction($addressbooksQuery->getSQL()) + + new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud') @@ -64,8 +103,8 @@ - \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog) \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog) $baseuri @@ -100,11 +139,34 @@ require '../../../../3rdparty/autoload.php' + + + \Sabre\Uri\split($principalUri) + + + getAppDataDir + + Uri\split($this->principalInfo['uri']) + + + run + + + + + run + + + + + File + + $user['uri'] @@ -114,10 +176,10 @@ setDateTime - $existingBirthday->VEVENT->DTSTART - $existingBirthday->VEVENT->SUMMARY $newCalendarData->VEVENT->DTSTART + $existingBirthday->VEVENT->DTSTART $newCalendarData->VEVENT->SUMMARY + $existingBirthday->VEVENT->SUMMARY @@ -140,21 +202,30 @@ + + $query->createParameter('principaluri') + $query->createNamedParameter(self::ACCESS_PUBLIC) + $query->createNamedParameter(self::ACCESS_PUBLIC) + $query->createParameter('uri') + $outerQuery->createFunction($innerQuery->getSQL()) + $calendarObjectIdQuery->createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY) + $query->createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY) + - '\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject' '\OCA\DAV\CalDAV\CalDavBackend::createCalendar' - '\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::createSubscription' - '\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::updateCalendar' '\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar' + '\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject' '\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject' + '\OCA\DAV\CalDAV\CalDavBackend::createSubscription' + '\OCA\DAV\CalDAV\CalDavBackend::updateSubscription' '\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription' - '\OCA\DAV\CalDAV\CalDavBackend::publishCalendar' - '\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject' - '\OCA\DAV\CalDAV\CalDavBackend::updateCalendar' - '\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject' '\OCA\DAV\CalDAV\CalDavBackend::updateShares' - '\OCA\DAV\CalDAV\CalDavBackend::updateSubscription' + '\OCA\DAV\CalDAV\CalDavBackend::publishCalendar' array @@ -178,30 +249,35 @@ dispatch dispatch dispatch + purgeProperties dispatch dispatch dispatch dispatch dispatch - purgeProperties - Uri\split($principalUri) Uri\split($row['principaluri']) Uri\split($row['principaluri']) Uri\split($row['principaluri']) + Uri\split($principalUri) + + + parent::getOwner() + + \Sabre\CalDAv\Notifications\Collection - $calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri) new Inbox($this->caldavBackend, $this->principalInfo['uri']) new Outbox($this->config, $this->principalInfo['uri']) - new Subscription($this->caldavBackend, $subscription) new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']) + new Subscription($this->caldavBackend, $subscription) + $calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri) getChild @@ -235,48 +311,50 @@ - hasTime isFloating + hasTime isFloating + $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $l10n->l('date', $dt, ['width' => 'medium']) $l10n->l('datetime', $dt, ['width' => 'medium|short']) $l10n->l('time', $dt, ['width' => 'short']) - $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) - + + [$organizerEMail => $name] + $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $l10n->l('date', $dt, ['width' => 'medium']) $l10n->l('datetime', $dt, ['width' => 'medium|short']) $l10n->l('time', $dt, ['width' => 'short']) - $l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) - + + array|null string string string string - getDateTime getDateTime isFloating + getDateTime + $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $this->l10n->l('date', $dt, ['width' => 'medium']) $this->l10n->l('datetime', $dt, ['width' => 'medium|short']) $this->l10n->l('time', $dt, ['width' => 'short']) - $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) + $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) $this->l10n->l('date', $dt, ['width' => 'medium']) $this->l10n->l('datetime', $dt, ['width' => 'medium|short']) $this->l10n->l('time', $dt, ['width' => 'short']) - $this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated']) string @@ -319,12 +397,16 @@ - $vevent->LOCATION $vevent->SUMMARY + $vevent->LOCATION string + + [$sender => $senderName] + [$recipient => $recipientName] + $lang->getValue() @@ -332,18 +414,18 @@ getDateTime getDateTime getDateTime + hasTime getDateTime + isFloating getDateTime + setDateTime + hasTime + isFloating getDateTime + setDateTime getDateTime getDateTime - hasTime - hasTime - isFloating - isFloating isFloating - setDateTime - setDateTime $iTipMessage->message->VEVENT->SUMMARY @@ -358,13 +440,13 @@ split($principalUrl) - get getChildren + get getDateTime - hasTime isFloating + hasTime isFloating principalSearch @@ -381,13 +463,22 @@ - + + is_array($newProps['filters']['comps']) + is_array($newProps['filters']['props']) + is_array($newProps['filters']['params']) + $webcalData + + + parent::getOwner() + + $id @@ -401,10 +492,15 @@ false + + $query->createParameter('principaluri') + $query->createParameter('uri') + $query->createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY) + '\OCA\DAV\CardDAV\CardDavBackend::createCard' - '\OCA\DAV\CardDAV\CardDavBackend::deleteCard' '\OCA\DAV\CardDAV\CardDavBackend::updateCard' + '\OCA\DAV\CardDAV\CardDavBackend::deleteCard' array @@ -424,8 +520,8 @@ $addressBooks[$row['id']][$readOnlyPropertyName] === 0 - \Sabre\Uri\split($principalUri) \Sabre\Uri\split($row['principaluri']) + \Sabre\Uri\split($principalUri) @@ -463,7 +559,9 @@ - + + $shareEnumeration && $restrictShareEnumeration + @@ -502,7 +600,9 @@ - + + is_string($name) + @@ -594,9 +694,9 @@ + \Sabre\Uri\split($source) \Sabre\Uri\split($destination) \Sabre\Uri\split($filePath) - \Sabre\Uri\split($source) @@ -613,9 +713,12 @@ new PreconditionFailed('Cannot filter by non-existing tag', 0, $e) + + \OCA\Circles\Api\v1\Circles + - getById getPath + getById @@ -631,15 +734,15 @@ $this->info->getId() - \Sabre\Uri\split($name) \Sabre\Uri\split($this->path) + \Sabre\Uri\split($name) + \Sabre\Uri\split($path) \Sabre\Uri\split($destinationPath) \Sabre\Uri\split($destinationPath) - \Sabre\Uri\split($path) @@ -661,6 +764,10 @@ null null + + \OCA\Circles\Api\v1\Circles + \OCA\Circles\Api\v1\Circles + \Sabre\Uri\split($path) \Sabre\Uri\split($prefix) @@ -703,11 +810,11 @@ \Sabre\Uri\split($sabreNode->getPath()) - getId getId getId getPath getPath + getId $server->xml->namespacesMap @@ -724,6 +831,17 @@ getId + + + $guests + + + $vEvent->DTSTAMP + + + $vEvent->{'ATTENDEE'} + + $whereValues @@ -785,8 +903,8 @@ - $argument $operator->arguments + $argument $value @@ -822,6 +940,11 @@ $this->usersToDelete + + + $qb->createParameter('ids') + + $publicCalendarRoot->disableListing @@ -841,12 +964,12 @@ getDateTime getDateTime + isFloating getDateTime - getDateTime + setDateTime hasTime isFloating - isFloating - setDateTime + getDateTime setDateTime @@ -859,8 +982,8 @@ - 'OCA\DAV\Connector\Sabre::addPlugin' 'OCA\DAV\Connector\Sabre::authInit' + 'OCA\DAV\Connector\Sabre::addPlugin' dispatch @@ -908,15 +1031,15 @@ $members - \Sabre\Uri\split($member) \Sabre\Uri\split($principal) \Sabre\Uri\split($principal) \Sabre\Uri\split($principalUri) + \Sabre\Uri\split($member) \Sabre\Uri\split($principalUri) + \Sabre\Uri\split($realPrincipalUri) \Sabre\Uri\split($principalUri) \Sabre\Uri\split($principalUri) \Sabre\Uri\split($principalUri) - \Sabre\Uri\split($realPrincipalUri) @@ -941,14 +1064,61 @@ \Sabre\Uri\split($this->principalInfo['uri']) + + + 'UserSetup' + 'KeyManager' + 'UserSetup' + 'Util' + 'Session' + 'Crypt' + 'Recovery' + 'Crypt' + 'KeyManager' + 'Util' + 'Session' + 'EncryptAll' + 'DecryptAll' + 'Crypt' + 'Util' + 'Crypt' + 'KeyManager' + 'Recovery' + 'Session' + 'KeyManager' + 'Crypt' + 'Session' + 'Util' + 'Crypt' + 'KeyManager' + 'Crypt' + 'UserSetup' + 'KeyManager' + 'Util' + 'Util' + 'KeyManager' + 'Crypt' + 'Session' + + + + + $result + + - + + $userSession && $userSession->isLoggedIn() + + + [$to => $recipientDisplayName] + + setSubject setHtmlBody setPlainBody - setSubject @@ -958,7 +1128,6 @@ $position $position - $position boolean @@ -973,15 +1142,20 @@ throw $exception; - + + $userSession && $userSession->isLoggedIn() + $encryptedFileKey && $shareKey + + 1 0 0 - 1 - + + $userSession && $userSession->isLoggedIn() + @@ -989,10 +1163,14 @@ - + + $userSession && $userSession->isLoggedIn() + - + + $userSession && $userSession->isLoggedIn() + @@ -1000,7 +1178,31 @@ + + + $remoteId + $id + $id + $id + $id + $id + $id + + + + $permission === null + $remoteId === null + + + + $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + $shares @@ -1030,12 +1232,11 @@ string - $id - $id $id $id $id (int)$share['id'] + $id @@ -1083,6 +1284,11 @@ $this + + + $query->createNamedParameter($favorites['items'], IQueryBuilder::PARAM_STR_ARRAY) + + $this->fileEncrypted[$fileId] @@ -1107,9 +1313,9 @@ + 0 $offset $offset - 0 @@ -1143,6 +1349,25 @@ int + + + $templateId + + + open + getTemplates + + + + + $fileId + + + getById + getRelativePath + getRelativePath + + $file @@ -1195,6 +1420,11 @@ $this + + + run + + $mountId @@ -1215,6 +1445,9 @@ + + $qb->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY, ':storage_ids') + $input->getArgument('mount_id') $storage @@ -1235,8 +1468,8 @@ $mountId - $e->getCode() $status + $e->getCode() @@ -1244,6 +1477,19 @@ new $objectClass($objectStore) + + + $this->service->getVisibilityType() + $this->service->getVisibilityType() + $status + $e->getCode() + + + + + getUniqueStorages + + self @@ -1263,8 +1509,8 @@ - $this->deprecateTo IdentifierTrait + $this->deprecateTo @@ -1279,17 +1525,38 @@ + + IteratorDirectory::wrap($files) + + + opendir + fopen + clearBucket + + + IteratorDirectory::wrap($files) + + + opendir + + put - - $source - $target + + IteratorDirectory::wrap($dirStream) + + + opendir + + + $source + $target @@ -1338,8 +1605,13 @@ new CappedMemoryCache() - + + IteratorDirectory::wrap($names) + + \Icewind\SMB\IFileInfo[] + resource|false + opendir $e->getCode() @@ -1366,6 +1638,16 @@ filetype + + IteratorDirectory::wrap($files) + + + opendir + fopen + + + $content + @@ -1374,10 +1656,10 @@ - decrypt - encrypt setIV + encrypt setIV + decrypt string @@ -1398,6 +1680,9 @@ + + $builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY) + null @@ -1437,6 +1722,12 @@ $_ + + + 'ExternalMountProvider' + '\OCP\Collaboration\Resources::loadAdditionalScripts' + + false @@ -1444,6 +1735,17 @@ null + + $entry + $entry + $entry + $entry + $entry + $entry + $entry + $entry + $entry + @@ -1455,12 +1757,81 @@ getUserFolder + + + '\OCA\Talk\Share\Helper\DeletedShareAPIController' + + + $this->getRoomShareHelper() + \OCA\Talk\Share\Helper\DeletedShareAPIController + + + + + 'https' + 'http' + + + + + Constants::PERMISSION_ALL + $code + $code + + + null + + + $date === false + + + \OCA\Circles\Api\v1\Circles + '\OCA\Talk\Share\Helper\ShareAPIController' + \OCA\Circles\Api\v1\Circles + + + $this->getRoomShareHelper() + $this->getRoomShareHelper() + $this->getRoomShareHelper() + \OCA\Talk\Share\Helper\ShareAPIController + + + + + 'Share is read-only' + $files_list + + + $maxUploadFilesize + $maxUploadFilesize + $freeSpace + + + null + + + + + $password + + null + + + $result + $result + $result + $file + + + + $query->createFunction('(' . $select . ')') + (int) $remoteShare @@ -1477,6 +1848,10 @@ $cacheData + + $existingChild + $existingChild + @@ -1491,6 +1866,22 @@ $legacyEvent + + + $exception->getMessage() + + + new JSONResponse($exception->getMessage(), 405) + + + NotFoundResponse + + + + + $query->createNamedParameter([IShare::TYPE_USER, IShare::TYPE_GROUP, IShare::TYPE_USERGROUP], IQueryBuilder::PARAM_INT_ARRAY) + + $itemSource @@ -1511,27 +1902,28 @@ - + $this->sourceRootInfo false false false + $this->nonMaskedStorage->fopen($this->getUnjailedPath($path), $mode) ICacheEntry $this->getPermissions($path) & \OCP\Constants::PERMISSION_CREATE + $this->getPermissions($path) & \OCP\Constants::PERMISSION_UPDATE $this->getPermissions($path) & \OCP\Constants::PERMISSION_DELETE $this->getPermissions($path) & \OCP\Constants::PERMISSION_SHARE - $this->getPermissions($path) & \OCP\Constants::PERMISSION_UPDATE new FailedCache() isCreatable + isUpdatable isDeletable isSharable - isUpdatable $this->sourceRootInfo @@ -1556,6 +1948,11 @@ dispatch + + + 'Expiration' + + int @@ -1565,6 +1962,9 @@ + + ITrash + $entry @@ -1591,6 +1991,9 @@ + + ITrash + $entry @@ -1629,6 +2032,10 @@ $timestamp $timestamp + + 'Expiration' + 'Expiration' + @@ -1674,11 +2081,130 @@ getURLGenerator + + + $publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value'] + $publicData[IAccountManager::PROPERTY_EMAIL]['value'] + $publicData[IAccountManager::PROPERTY_ADDRESS]['value'] + $publicData[IAccountManager::PROPERTY_WEBSITE]['value'] + $publicData[IAccountManager::PROPERTY_TWITTER]['value'] + $publicData[IAccountManager::PROPERTY_PHONE]['value'] + $publicData[IAccountManager::PROPERTY_TWITTER]['signature'] + $publicData[IAccountManager::PROPERTY_WEBSITE]['signature'] + $publicData[IAccountManager::PROPERTY_WEBSITE]['verified'] + $publicData[IAccountManager::PROPERTY_TWITTER]['verified'] + + + $this->retries + 1 + + + + + $this->request->server + + + + + getName + getRedirectUri + getClientIdentifier + getSecret + + + + + + + + + + + getSubAdmin + + + + + $quota + + + $groupid === null || trim($groupid) === '' + + + $groupid === null + + + getSubAdmin + + + + + \OC_User::getUser() + + + 'ServerContainer' + + + getSettingsManager + + $jobList + + + ignoreNextcloudRequirementForApp + + + + + IDBConnection::CHECK_MISSING_INDEXES_EVENT + IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT + IDBConnection::CHECK_MISSING_COLUMNS_EVENT + + + $lastCronRun + + + new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.') + $response + + + DataResponse + + + 0 + $lastCronRun + + + dispatch + dispatch + dispatch + + + + + $this->l10n->t('Invalid SMTP password.') + $this->l10n->t('A problem occurred while sending the email. Please revise your settings. (Error: %s)', [$e->getMessage()]) + $this->l10n->t('You need to set your user email before being able to send test emails.') + + + + + 'OC\Settings\Users::loadAdditionalScripts' + + + + + [$user->getEMailAddress() => $user->getDisplayName()] + + + + + [$user->getEMailAddress() => $user->getDisplayName()] + + isReady @@ -1725,6 +2251,9 @@ + + $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + $shares @@ -1732,9 +2261,9 @@ getSharesInFolder - $share->getId() $shareId $shareId + $share->getId() (int)$data['id'] @@ -1744,10 +2273,32 @@ $event->getObjectId() + + + $type + $type + $this->config->getAppValue('testing', $lock) + $this->config->getAppValue('testing', $lock) + $this->config->getAppValue('testing', $lock) + + + + + $response + + + FileDisplayResponse|NotFoundResponse + + + $iconFile !== false + $iconFile !== false + $iconFile !== false + + - $offset_h $offset_w + $offset_h @@ -1777,18 +2328,43 @@ $folder !== null + + + $registry + + + run + + + getProviderStates + + + + + bool + + bool + + + $newToken + + + 0 + $this->timeFactory->getTime() + + $this->users - $errors 0 + $errors 0 @@ -1828,32 +2404,46 @@ $record - $uuid $values + $uuid string[] - - $e->getCode() + + [$attr => $result['values']] $key $key + $e->getCode() $cookie - + !isset($ldapName[0]) && empty($ldapName[0]) + is_null($limit) + !is_null($limit) && (int)$this->connection->ldapPagingSize !== 0 is_array($result) + $limit === 0 && !empty($this->lastCookie) - !$attribute === null is_null($findings) + !$attribute === null - + + is_array($attr) !is_null($attr) && !is_array($attr) + isset($ldapRecord[$this->connection->$uuidAttr]) + + + 'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded' + + + dispatch + + time() @@ -1877,11 +2467,11 @@ $this->cachedGroupsByMember[$uid] - $this->cachedGroupsByMember - $this->cachedNestedGroups new CappedMemoryCache() new CappedMemoryCache() new CappedMemoryCache() + $this->cachedNestedGroups + $this->cachedGroupsByMember $groupName @@ -1894,8 +2484,8 @@ $groupID - is_array($groupDNs) is_array($list) + is_array($groupDNs) @@ -1910,21 +2500,21 @@ - $newOffset 0 + $newOffset 50 - $i $lastChange + $i + self::MIN_INTERVAL $interval 0 0 - self::MIN_INTERVAL $argument @@ -1946,46 +2536,46 @@ - $baseDN - $baseDN $link $link + $result $link $link $link + $result $link + $result $link + $result $link + $result $link $link + $baseDN $link + $baseDN $link $link $link $resource - $result - $result - $result - $result - $result $baseDN - array|mixed - array|mixed - bool|mixed - bool|mixed bool|mixed + mixed|true mixed mixed + array|mixed + mixed|string + array|mixed mixed mixed mixed - mixed|string - mixed|true + bool|mixed mixed|true + bool|mixed Resource @@ -2008,6 +2598,12 @@ bool + + + $qb->createNamedParameter($dnList, QueryBuilder::PARAM_STR_ARRAY) + $qb->createNamedParameter($fdnsSlice, QueryBuilder::PARAM_STR_ARRAY) + + protected function handleRequest($id, $method, $parameters, $passOnWhen = false) { @@ -2031,8 +2627,8 @@ $this->getHomePath($ldapEntry[$attr][0]) - 1 true + 1 @@ -2040,9 +2636,9 @@ string|false + $path $limit $offset - $path $limit @@ -2052,37 +2648,62 @@ null + + + $users + + false false - $attributes $er $er $er + $attributes - private function checkAgentRequirements() { private function detectGroupMemberAssoc() { + private function checkAgentRequirements() { 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_NETWORK_TIMEOUT + LDAP_OPT_PROTOCOL_VERSION LDAP_OPT_REFERRALS + LDAP_OPT_NETWORK_TIMEOUT - + + is_array($item['cn']) + !isset($item['cn']) && !is_array($item['cn']) && !isset($item['cn'][0]) + $total === false + + + registerProvider + + + + + run + + + + + $qb->createNamedParameter([IUserStatus::ONLINE, IUserStatus::AWAY, IUserStatus::OFFLINE], IQueryBuilder::PARAM_STR_ARRAY) + $qb->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY) + + + string|null @@ -2126,16 +2747,29 @@ ['app' => Application::APP_ID, 'class' => get_class($subject)] + + + $deleted + + + $e->getCode() + $e->getCode() + $e->getCode() + + string + + $query->createNamedParameter($checkIds, IQueryBuilder::PARAM_INT_ARRAY) + - IManager::EVENT_NAME_REG_CHECK IManager::EVENT_NAME_REG_ENTITY IManager::EVENT_NAME_REG_OPERATION + IManager::EVENT_NAME_REG_CHECK [] @@ -2166,13 +2800,18 @@ - getAllConfiguredScopesForOperation - getChecks + isUserScopeEnabled getOperations + getAllConfiguredScopesForOperation getOperations - isUserScopeEnabled + getChecks + + + 'OCP\WorkflowEngine::loadAdditionalSettingScripts' + + getSection @@ -2181,6 +2820,11 @@ $this->manager->isUserScopeEnabled() ? 'workflow' : null + + + run + + @@ -2202,6 +2846,11 @@ array + + + 'broadcasttest' + + null|int @@ -2261,8 +2910,8 @@ setFilterSchemaAssetsExpression - $chunk * $chunkSize $chunkSize + $chunk * $chunkSize 0 @@ -2340,16 +2989,16 @@ 0 + 1 + 1 + 1 0 + 1 0 0 0 0 0 - 1 - 1 - 1 - 1 $this->installer @@ -2363,20 +3012,73 @@ $input->getOption('default-value') + + + 'app_password_created' + + + dispatch + + + + + 'app_password_created' + + + dispatch + + + + + !is_string($stateToken) || !is_string($currentToken) + is_string($stateToken) + + + is_string($stateToken) + + + + + searchCollections + + + + + $svg === null + + + + + null + + + findMatchingRoute + + + + + $this->request->server + + + + + $qb->func()->lower('uid') + + 0 + 1 0 + 1 0 + 1 0 + 1 0 0 0 0 - 1 - 1 - 1 - 1 @@ -2389,6 +3091,7 @@ $this + $this @@ -2398,8 +3101,8 @@ - getAppsNeedingUpgrade getIncompatibleApps + getAppsNeedingUpgrade $restrictions @@ -2439,9 +3142,9 @@ - ManagerEvent::EVENT_APP_DISABLE ManagerEvent::EVENT_APP_ENABLE ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS + ManagerEvent::EVENT_APP_DISABLE array @@ -2543,6 +3246,9 @@ \OCP\IServerContainer mixed + + 'AppName' + getAppDataDir @@ -2569,16 +3275,18 @@ - - $host - $name - $remoteAddress - $this->getOverwriteHost() + + $this->server[$name] $this->method - $uri - isset($this->cookies[$key]) ? $this->cookies[$key] : null - isset($this->env[$key]) ? $this->env[$key] : null isset($this->files[$key]) ? $this->files[$key] : null + isset($this->env[$key]) ? $this->env[$key] : null + isset($this->cookies[$key]) ? $this->cookies[$key] : null + $this->server['UNIQUE_ID'] + $remoteAddress + $uri + $name + $this->getOverwriteHost() + $host \is_array($params) @@ -2592,10 +3300,73 @@ log + + + TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS + TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN + + + dispatch + dispatch + + + + + setOCSVersion + + + $code + + + + + $exception->getCode() + + + $this->request->server + $this->request->server + $this->request->server + + + + + $userLimit + $userPeriod + $anonLimit + $anonPeriod + $exception->getCode() + $exception->getCode() + + + + + $exception->getCode() + $exception->getCode() + + + $this->request->server + + + \OCA\Talk\Controller\PageController + + + + + $meta + + + + + $meta + + $action['url-postfix'] + + strtolower + @@ -2606,11 +3377,12 @@ false - + $this->tar->extractInString($path) - + string + resource $this->tar->extractInString($path) @@ -2621,29 +3393,73 @@ boolean|null boolean|null + + + resource + - + + $trySession && $this->session->exists('login_credentials') + + + + + parent::getLoginName() + parent::getPassword() + parent::getLastCheck() + parent::setLastCheck($time) + parent::getScope() + parent::setScope(json_encode($scope)) + parent::setScope((string)$scope) + parent::getName() + parent::setName($name) + parent::getRemember() + parent::setToken($token) + parent::setPassword($password) + parent::setExpires($expires) + parent::getExpires() + $token + + + parent::getLoginName() + parent::getPassword() + parent::getLastCheck() + parent::setLastCheck($time) + parent::getScope() + parent::setScope(json_encode($scope)) + parent::setScope((string)$scope) + parent::getName() + parent::setName($name) + parent::getRemember() + parent::setToken($token) + parent::setPassword($password) + parent::setExpires($expires) + parent::getExpires() + parent::setPasswordInvalid($invalid) + parent::setType(IToken::WIPE_TOKEN) + + $providers - int[] string[] + int[] - $tokenId - IProvider::EVENT_FAILED IProvider::EVENT_SUCCESS + IProvider::EVENT_FAILED + $tokenId $providerStates @@ -2652,9 +3468,9 @@ string[] - $this->timeFactory->getTime() - $token->getId() $tokenId + $token->getId() + $this->timeFactory->getTime() dispatch @@ -2666,8 +3482,8 @@ $this->providers - $this->providers [] + $this->providers $this->providers @@ -2708,9 +3524,9 @@ ISimpleFile + (int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1 $data $data - (int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1 @@ -2774,6 +3590,11 @@ null + + + $needsUpdate + + ConsoleEvent::EVENT_RUN @@ -2831,9 +3652,9 @@ - IAddressBook - array bool + array + IAddressBook null @@ -2857,13 +3678,16 @@ + + string + - $insertQb->execute() $this->adapter->lastInsertId($seqName) + $insertQb->execute() - int string + int $e->getCode() @@ -2896,16 +3720,16 @@ $offset - $this->migrationsNamespace - $this->migrationsNamespace $this->migrationsPath + $this->migrationsNamespace $this->migrationsPath + $this->migrationsNamespace + $this->migrationsPath $this->migrationsNamespace $this->migrationsNamespace $this->migrationsPath - $this->migrationsPath @@ -2915,8 +3739,8 @@ setFilterSchemaAssetsExpression - '\OC\DB\Migrator::checkTable' '\OC\DB\Migrator::executeSql' + '\OC\DB\Migrator::checkTable' dispatch @@ -3047,6 +3871,11 @@ bool + + + dispatch + + $this->event->offsetSet($key, $value) @@ -3066,8 +3895,15 @@ $eventName + + dispatch + + + $fun->md5($newPathFunction) + $newPathFunction + $parentData @@ -3083,15 +3919,27 @@ null null + + $sourceData + $sourceData + $parentData + $parentData + $entry + + + + + $this->createNamedParameter($parents, IQueryBuilder::PARAM_INT_ARRAY) + [] - getIncomplete - insert put + insert + getIncomplete @@ -3101,6 +3949,20 @@ $path + + $entry + $entry + $entry + $filesData + $data + + + + + $builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT)) + $query->func()->greatest('mtime', $query->createParameter('time')) + $sizeQuery->func()->add('size', $sizeQuery->createParameter('size')) + @@ -3121,6 +3983,12 @@ $path self::SCAN_RECURSIVE_INCOMPLETE + + $data ?? $this->getData($file) + + + $child + @@ -3130,11 +3998,23 @@ self::getGlobalCache()->getStorageInfo($storageId) + + + $builder->createNamedParameter(array_values($storageIds), IQueryBuilder::PARAM_STR_ARRAY) + + $this->cache instanceof Cache + + + $cachedData + $entry + $entry + + array @@ -3149,6 +4029,20 @@ array array + + $entry + + + + + $entry + + + formatCacheEntry + + + $entry + @@ -3175,24 +4069,35 @@ + + $builder->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY) + - remoteStorageMounts removeUserStorageMount + remoteStorageMounts array - $this->cacheInfoCache - $this->cacheInfoCache - $this->cacheInfoCache $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers $this->mountsForUsers + $this->cacheInfoCache + $this->cacheInfoCache + $this->cacheInfoCache + + + + + $this->data + $data + $data + $data @@ -3246,8 +4151,8 @@ - $this->view->hash($type, $this->path, $raw) new NonExistingFile($this->root, $this->view, $path) + $this->view->hash($type, $this->path, $raw) string @@ -3266,12 +4171,12 @@ string - $this->root->get($this->getFullPath($path)) new NonExistingFolder($this->root, $this->view, $path) + $this->root->get($this->getFullPath($path)) - \OC\Files\Node\Node string + \OC\Files\Node\Node $node @@ -3280,8 +4185,8 @@ null - getSourceStorage getUnJailedPath + getSourceStorage $this->exists @@ -3289,18 +4194,18 @@ - '\OCP\Files::postCopy' - '\OCP\Files::postCreate' - '\OCP\Files::postDelete' - '\OCP\Files::postRename' - '\OCP\Files::postTouch' + '\OCP\Files::preWrite' '\OCP\Files::postWrite' - '\OCP\Files::preCopy' '\OCP\Files::preCreate' + '\OCP\Files::postCreate' '\OCP\Files::preDelete' - '\OCP\Files::preRename' + '\OCP\Files::postDelete' '\OCP\Files::preTouch' - '\OCP\Files::preWrite' + '\OCP\Files::postTouch' + '\OCP\Files::preRename' + '\OCP\Files::postRename' + '\OCP\Files::preCopy' + '\OCP\Files::postCopy' '\OCP\Files::read' @@ -3350,15 +4255,15 @@ int + $this->root->get($newPath) $targetNode $targetNode - $this->root->get($newPath) Node + getChecksum \OC\Files\Node\Node \OC\Files\Node\Node - getChecksum $this->getFileInfo()->getId() @@ -3372,14 +4277,14 @@ - Node string + Node - \OC\Files\Mount\MountPoint \OC\User\User - array + \OC\Files\Mount\MountPoint int + array int int string @@ -3391,8 +4296,8 @@ string - $this->mountManager->find($mountPoint) $this->user + $this->mountManager->find($mountPoint) null null null @@ -3414,10 +4319,23 @@ + + IteratorDirectory::wrap($files) + + + opendir + fopen + $source $target + + $child + $child + $child + $file + @@ -3458,6 +4376,17 @@ stream_for($handle) + + + $this->params['url'] + + + + + + resource + + string|false @@ -3468,21 +4397,33 @@ !$permissions + + $count + + + file_put_contents + $storage->cache $storage->cache - $storage->propagator - $storage->propagator $storage->scanner $storage->scanner + $storage->propagator + $storage->propagator $storage->updater $storage->updater $this->getStorageCache()->getAvailability() + + $result and ($file = readdir($dh)) !== false + + + int + ArrayCache ArrayCache @@ -3490,11 +4431,15 @@ getETag - + + IteratorDirectory::wrap($content) $response->getBody() + $result - + + opendir fopen + int null @@ -3502,15 +4447,20 @@ null + + $cachedData + $cachedData + $cachedData + - new FailedCache() true + new FailedCache() - getCache verifyPath + getCache $this->e->getCode() @@ -3555,16 +4505,19 @@ - + $this->flysystem->getTimestamp($this->buildPath($path)) + IteratorDirectory::wrap($names) - + filemtime + opendir + fopen - $source $source $target + $source $target @@ -3574,18 +4527,20 @@ $helper->getFileSize($fullPath) + $result $space filesize + file_put_contents free_space $helper->getFileSize($fullPath) - $space === false || is_null($space) is_null($space) + $space === false || is_null($space) $stat === false @@ -3599,45 +4554,59 @@ - copy - copyFromStorage + mkdir + rmdir + opendir + is_dir + is_file + stat + filesize + isCreatable + isReadable + isUpdatable + isDeletable + isSharable + getPermissions file_exists + filemtime file_get_contents file_put_contents - filemtime - filesize + unlink + rename + copy fopen - free_space - getDirectDownload - getETag - getLocalFile getMimeType - getOwner - getPermissions - hasUpdated hash - isCreatable - isDeletable - isReadable - isSharable - isUpdatable - is_dir - is_file - mkdir - moveFromStorage - opendir - rename - rmdir + free_space search - stat touch - unlink + getLocalFile + hasUpdated + getOwner + getETag + getDirectDownload + copyFromStorage + moveFromStorage \Traversable + + $this->storage->opendir($this->findPathToUse($path)) + $this->storage->stat($this->findPathToUse($path)) + $this->storage->filesize($this->findPathToUse($path)) + $this->storage->filemtime($this->findPathToUse($path)) + $this->storage->file_get_contents($this->findPathToUse($path)) + $result + $this->storage->getMimeType($this->findPathToUse($path)) + $this->storage->hash($type, $this->findPathToUse($path), $raw) + $this->storage->free_space($this->findPathToUse($path)) + $this->storage->search($query) + $this->storage->getLocalFile($this->findPathToUse($path)) + $this->storage->getETag($this->findPathToUse($path)) + bool @@ -3664,8 +4633,12 @@ - + + $this->storage->filesize($path) false + $this->storage->file_get_contents($path) + $this->storage->getLocalFile($path) + $stat resource|bool @@ -3675,8 +4648,8 @@ $target - $newUnencryptedSize $written + $newUnencryptedSize bool @@ -3686,8 +4659,31 @@ $lastChunkPos $newUnencryptedSize + + $info + $info + $info + $entry + $sourceStorage->getCache()->get($sourceInternalPath) + $info + $info + + + $this->getWrapperStorage()->opendir($this->getUnjailedPath($path)) + $this->getWrapperStorage()->stat($this->getUnjailedPath($path)) + $this->getWrapperStorage()->filesize($this->getUnjailedPath($path)) + $this->getWrapperStorage()->filemtime($this->getUnjailedPath($path)) + $this->getWrapperStorage()->file_get_contents($this->getUnjailedPath($path)) + $this->getWrapperStorage()->fopen($this->getUnjailedPath($path), $mode) + $this->getWrapperStorage()->getMimeType($this->getUnjailedPath($path)) + $this->getWrapperStorage()->hash($type, $this->getUnjailedPath($path), $raw) + $this->getWrapperStorage()->free_space($this->getUnjailedPath($path)) + $this->getWrapperStorage()->search($query) + $this->getWrapperStorage()->getLocalFile($this->getUnjailedPath($path)) + $this->getWrapperStorage()->getETag($this->getUnjailedPath($path)) + bool @@ -3704,6 +4700,10 @@ + + $this->storage->free_space($path) + $source + $extension === 'part' @@ -3717,8 +4717,26 @@ $source $target + + $data + + + $this->getWrapperStorage()->opendir($path) + $this->getWrapperStorage()->stat($path) + $this->getWrapperStorage()->filesize($path) + $this->getWrapperStorage()->filemtime($path) + $this->getWrapperStorage()->file_get_contents($path) + $this->getWrapperStorage()->fopen($path, $mode) + $this->getWrapperStorage()->getMimeType($path) + $this->getWrapperStorage()->hash($type, $path, $raw) + $this->getWrapperStorage()->free_space($path) + $this->getWrapperStorage()->search($query) + $this->getWrapperStorage()->getLocalFile($path) + $this->getWrapperStorage()->getETag($path) + $this->getWrapperStorage()->getDirectDownload($path) + bool @@ -3742,6 +4760,9 @@ + + $update->func()->lower('name') + $update->execute() @@ -3763,8 +4784,8 @@ $mount - \OCP\Files\Mount\IMountPoint string + \OCP\Files\Mount\IMountPoint $results @@ -3773,41 +4794,74 @@ \OC\Files\Mount\MountPoint - $fileId $mtime $user + $fileId - $mount - Filesystem::getMountManager()->find($this->getAbsolutePath($path)) null + Filesystem::getMountManager()->find($this->getAbsolutePath($path)) null null null + $mount - $result && in_array('delete', $hooks) and $result $storage1 is_resource($source) + $result && in_array('delete', $hooks) and $result - $storage [$storage, $internalPath] + $storage + + $data + $data + $data + $data + $content + $content + $content + $content + $content + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + $rootEntry + is_null($this->getContent()) + + + + $this->groupCache[$gid]['displayname'] + + + $this->groupCache + $this->groupCache + $this->groupCache + + + IGroup::class . '::preAddUser' IGroup::class . '::postAddUser' - IGroup::class . '::postDelete' + IGroup::class . '::preRemoveUser' IGroup::class . '::postRemoveUser' - IGroup::class . '::preAddUser' IGroup::class . '::preDelete' - IGroup::class . '::preRemoveUser' + IGroup::class . '::postDelete' $hide @@ -3825,9 +4879,9 @@ addToGroup + removeFromGroup countUsersInGroup deleteGroup - removeFromGroup @@ -3837,9 +4891,15 @@ $groupId + + $groups + + + \OC\Group\Group[] + - createGroup getGroupDetails + createGroup isAdmin @@ -3849,6 +4909,11 @@ self::SORT_NONE + + + null + + string|resource @@ -3908,6 +4973,13 @@ $data + + + $query->func()->subtract('lock', $query->createNamedParameter(1)) + $builder->func()->subtract('lock', $builder->expr()->literal(1)) + $builder->createNamedParameter($chunk, IQueryBuilder::PARAM_STR_ARRAY) + + get @@ -3922,16 +4994,16 @@ - getOwner getPermissions + getOwner new IteratorDirectory([]) new NullCache() - getCache opendir + getCache null @@ -3950,7 +5022,14 @@ - + + $request && hash_equals($logCondition['shared_secret'], $logSecretRequest) + + + + + $limit === null ||$entriesCount < $limit + @@ -3968,16 +5047,24 @@ $failedRecipients - getSubject getSwiftMessage getTo + getSubject - + + apcu_store($this->getPrefix() . $key, $value, $ttl) + apcu_exists($this->getPrefix() . $key) + apcu_delete($this->getPrefix() . $key) + apcu_delete($iter) apcu_add($this->getPrefix() . $key, $value, $ttl) - + + set + hasKey + remove + clear bool @@ -3993,6 +5080,9 @@ method_exists(self::$cache, 'deleteMulti') + + \Memcached::HAVE_IGBINARY + @@ -4005,6 +5095,12 @@ $jobList + + + !($notification instanceof INotification) || !$notification->isValidParsed() + !($notification instanceof INotification) || !$notification->isValidParsed() + + [] @@ -4017,8 +5113,8 @@ - $maxPreviewImage IPreview::EVENT + $maxPreviewImage ISimpleFile @@ -4037,13 +5133,13 @@ dispatch + valid height + width + width height preciseResizeCopy resizeCopy - valid - width - width @@ -4083,6 +5179,11 @@ ?IImage + + + $file->getStorage()->getLocalFile($file->getInternalPath()) + + $svg @@ -4096,8 +5197,8 @@ - new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout) new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password']) + new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout) \RedisCluster::OPT_SLAVE_FAILOVER @@ -4127,11 +5228,17 @@ dispatch - + + $query->createNamedParameter($users, IQueryBuilder::PARAM_STR_ARRAY) + $qb->createParameter('ids') + + + + + $subQuery->createFunction('(' . $subSubQuery->getSQL() . ')') $query->createFunction('(' . $subQuery->getSQL() . ')') $query->createFunction('(' . $subQuery->getSQL() . ')') - $subQuery->createFunction('(' . $subSubQuery->getSQL() . ')') $this->userToNotify @@ -4143,6 +5250,11 @@ \Doctrine\DBAL\Driver\Statement + + + $permsFunc + + \OC_APP @@ -4162,6 +5274,14 @@ $provider instanceof Provider + + + $data->getId() + $data->getPermissions() + $data->getMtime() + $this->hasPreview($data) + + null @@ -4196,12 +5316,12 @@ - decrypt - encrypt - setIV - setIV setPassword + setIV + encrypt setPassword + setIV + decrypt @@ -4220,9 +5340,27 @@ $uid + + $userId + dispatch + + 'SystemTagManagerFactory' + 'SystemTagManagerFactory' + 'RootFolder' + 'EncryptionFileHelper' + 'EncryptionKeyStorage' + 'RedisFactory' + 'OcsClient' + 'AsyncCommandBus' + 'ThemingDefaults' + 'IntegrityCodeChecker' + 'CryptoWrapper' + 'LDAPProvider' + 'LockdownManager' + \OC\OCSClient @@ -4267,6 +5405,12 @@ array + + + $query->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY) + $query->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + + false @@ -4278,8 +5422,8 @@ !self::isResharingAllowed() - $shareWith \OC_User::getUser() + $shareWith \OC_User::getUser() @@ -4288,6 +5432,12 @@ + + $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY) + $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + $shares @@ -4307,29 +5457,34 @@ - - $data - 'OCP\Share::postAcceptShare' + 'OCP\Share::preShare' 'OCP\Share::postShare' + 'OCP\Share::postAcceptShare' + 'OCP\Share::preUnshare' 'OCP\Share::postUnshare' 'OCP\Share::postUnshareFromSelf' - 'OCP\Share::preShare' - 'OCP\Share::preUnshare' + $data - $id $this->shareApiLinkDefaultExpireDays() + $id + + null + dispatch dispatch + update dispatch dispatch dispatch dispatch - update + + \OCA\Circles\Api\v1\Circles + getChildren @@ -4339,16 +5494,17 @@ FederatedShareProvider ShareByMailProvider - + + $this->shareByCircleProvider + $this->roomShareProvider $provider $provider $shares - $this->shareByCircleProvider - getAllProviders getProvider getProviderForType + getAllProviders null @@ -4358,8 +5514,16 @@ null null - + + \OCA\Circles\ShareByCircleProvider + '\OCA\Talk\Share\RoomShareProvider' + + + \OCA\Circles\ShareByCircleProvider + \OCA\Talk\Share\RoomShareProvider RoomShareProvider + private $shareByCircleProvider = null; + private $roomShareProvider = null; getLazyRootFolder @@ -4384,8 +5548,8 @@ - countUsers getSupportedApps + countUsers @@ -4394,10 +5558,15 @@ false false + + $query->createParameter('tagids') + $query->createParameter('tagids') + $query->createParameter('tagids') + ManagerEvent::EVENT_CREATE - ManagerEvent::EVENT_DELETE ManagerEvent::EVENT_UPDATE + ManagerEvent::EVENT_DELETE bool @@ -4410,6 +5579,12 @@ + + $query->createParameter('objectids') + $query->createNamedParameter($tagIds, IQueryBuilder::PARAM_INT_ARRAY) + $query->createParameter('tagids') + $query->createParameter('objectids') + MapperEvent::EVENT_ASSIGN MapperEvent::EVENT_UNASSIGN @@ -4453,13 +5628,16 @@ + $this->appendIfExist($this->serverroot, 'core/'.$script.'.js') + $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js') $this->appendIfExist($this->serverroot, $script.'.js') $this->appendIfExist($this->serverroot, $theme_dir.$script.'.js') - $this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js') - $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js') $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js') - $this->appendIfExist($this->serverroot, 'core/'.$script.'.js') + $this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js') + + $found + @@ -4472,9 +5650,9 @@ string + \OC_User::getUser() $appName $appName - \OC_User::getUser() Util::addScript('dist/unified-search', null, true) @@ -4492,17 +5670,17 @@ 0 0 + 1 0 + 1 + 1 0 + 1 0 0 0 0 0 - 1 - 1 - 1 - 1 \OC_DB::simulateUpdateDbFromStructure(\OC_App::getAppPath($appId) . '/appinfo/database.xml') @@ -4510,8 +5688,8 @@ - microtime(true) time() + microtime(true) @@ -4520,10 +5698,26 @@ $offset + + + false + + + $query->func()->lower('displayname') + + + + $offset + $offset + + array|int + + $queryBuilder->createNamedParameter($groups, IQueryBuilder::PARAM_STR_ARRAY) + bool|IUser @@ -4537,8 +5731,8 @@ checkPassword - countUsers createUser + countUsers getUsersForUserValueCaseInsensitive @@ -4566,11 +5760,11 @@ - IUser::class . '::changeUser' - IUser::class . '::postDelete' - IUser::class . '::postSetPassword' IUser::class . '::preDelete' + IUser::class . '::postDelete' IUser::class . '::preSetPassword' + IUser::class . '::postSetPassword' + IUser::class . '::changeUser' getBackend @@ -4585,8 +5779,8 @@ IImage|null - $quota $this->lastLogin + $quota $this->backend @@ -4599,11 +5793,11 @@ dispatch - canChangeAvatar - deleteUserAvatar - getHome setDisplayName + deleteUserAvatar setPassword + getHome + canChangeAvatar @@ -4635,6 +5829,9 @@ null + + $appId === null || trim($appId) === '' + dispatch @@ -4655,6 +5852,11 @@ $this->statement->fetchColumn($column) + + + $this->fallback + + \OC\InsufficientStorageException @@ -4662,9 +5864,9 @@ - $fh $fileInfos [$fileInfo] + $fh mt_rand() @@ -4689,21 +5891,23 @@ int - $includeExtStorage ? 'ext' : false $path + $includeExtStorage ? 'ext' : false $quota 'ext' - + + count($obd_values) > 0 and $obd_values[0] + getSourceStorage - $this->resource $this->valid() ? imagesx($this->resource) : -1 $this->valid() ? imagesy($this->resource) : -1 + $this->resource null|string @@ -4716,6 +5920,8 @@ bool + $this->bitDepth + 90 $imagePath $imagePath $imagePath @@ -4729,15 +5935,15 @@ $imagePath $imagePath $imagePath - $this->bitDepth $x $y - 90 bool - + + $isWritable && file_exists($filePath) + @@ -4751,9 +5957,15 @@ - \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging) \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging) + + $version + $version + $version + $version + OC_Helper::computerFileSize($userQuota) @@ -4765,18 +5977,162 @@ OC_User::getUser() - 'off' is_string($expected) + 'off' is_bool($expected) - is_bool($setting[1]) is_int($expected) + is_bool($setting[1]) clearCache + + + 'DateTimeFormatter' + + + + + $this->request->server + + + + + ContainerExceptionInterface + + + + + string + + + $column + + + + + $this->data + + + array + + + + + $this->data + + + array + + + + + + + + $resource['size'] + $resource['resource'] + $resource['internalName'] + $resource['size'] + $resource['time'] + + + $this->resources + + + + + $jobList + + + + + WidgetSetting + + + null + + + + + mixed + + + + + \OC_App::getStorage($app) + + + + + string|false + + + + + array + + + string|false + + + + + IsearchRequest + + + + + public function getUri(): string; + + + + + Color + + + + + ContainerExceptionInterface + ContainerExceptionInterface + + + + + PreconditionNotMetException + + + + + $cursor + + + + + array + array|bool + mixed + + + + + \OC_User::getUser() + + + string + + + + + \OC_Helper::computerFileSize($str) + + + float + + $e->getCode()