From: Morris Jobke Date: Tue, 18 Aug 2020 07:02:31 +0000 (+0200) Subject: Add psalm baseline X-Git-Tag: v20.0.0beta1~49^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4efca69f8d411ac906f94301b4a2c5ae58858f04;p=nextcloud-server.git Add psalm baseline Signed-off-by: Morris Jobke --- diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml new file mode 100644 index 00000000000..5a2d3ab43bf --- /dev/null +++ b/build/psalm-baseline.xml @@ -0,0 +1,6295 @@ + + + + + string|null + + + + + $calendarData + + + + + $data + + + + + $data + + + + + array + + + $vcardData + + + + + $principalUri + + + $data + + + + + array + + + + + $this->appRoot + + + $this->appRoot + $this->appRoot + + + + + listen + listen + listen + + + + + $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') + + + $baseuri + + + + + new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud') + + + $baseuri + + + + + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog) + + + $baseuri + + + + + 'OCA\DAV\Connector\Sabre::addPlugin' + + + dispatch + + + $baseuri + + + + + $baseuri + + + + + $baseuri + + + + + $argv[5] + + + require '../../../../3rdparty/autoload.php' + + + + + \Sabre\Uri\split($principalUri) + + + getAppDataDir + + + + + Uri\split($this->principalInfo['uri']) + + + + + run + + + + + run + + + + + File + + + + + $user['uri'] + + + setDateTime + setDateTime + + + $newCalendarData->VEVENT->DTSTART + $existingBirthday->VEVENT->DTSTART + $newCalendarData->VEVENT->SUMMARY + $existingBirthday->VEVENT->SUMMARY + + + + + array + + + $calendarData + + + + + string|void + + + $this->objectData['calendardata'] + + + + + $query->createParameter('principaluri') + $query->createNamedParameter(self::ACCESS_PUBLIC) + $query->createNamedParameter(self::ACCESS_PUBLIC) + $query->createNamedParameter($value) + $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::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::deleteSubscription' + '\OCA\DAV\CalDAV\CalDavBackend::updateShares' + '\OCA\DAV\CalDAV\CalDavBackend::publishCalendar' + + + array + array + + + $objectData + $uris + + + null + null + + + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + purgeProperties + dispatch + dispatch + dispatch + dispatch + dispatch + + + Uri\split($row['principaluri']) + Uri\split($row['principaluri']) + Uri\split($row['principaluri']) + Uri\split($principalUri) + + + + + parent::getOwner() + + + + + \Sabre\CalDAv\Notifications\Collection + + + 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) + + + getChild + + + $calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri) + + + calendarSearch + + + + + $acl->defaultUsernamePath + + + + + string|null + + + \Sabre\Uri\split($principalUrl) + \Sabre\Uri\split($principalUrl) + \Sabre\Uri\split($principalUrl) + + + + + $paths + + + + + checkPrivileges + checkPrivileges + + + + + 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']) + + + [$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']) + + + array|null + string + string + string + string + + + 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('date', $dt, ['width' => 'medium']) + $this->l10n->l('datetime', $dt, ['width' => 'medium|short']) + $this->l10n->l('time', $dt, ['width' => 'short']) + + + string + string + string + string + + + + + getDateInterval + getDateTime + getDateTime + + + $valarm->parent->UID + + + + + null|string + + + array + + + $principals + + + string[] + + + null + null + + + \Sabre\Uri\split($path) + \Sabre\Uri\split($path) + + + + + $meetingLocation + $meetingDescription + $meetingUrl + + + string + + + [$sender => $senderName] + [$recipient => $recipientName] + + + $lang->getValue() + + + isFloating + getDateTime + setDateTime + hasTime + isFloating + getDateTime + setDateTime + getDateTime + getDateTime + getDateTime + hasTime + getDateTime + getDateTime + getDateTime + isFloating + + + $iTipMessage->message->VEVENT->SUMMARY + + + + + [$aclPlugin, 'propFind'] + [$aclPlugin, 'propFind'] + + + split($principalUrl) + + + getChildren + get + + + getDateTime + isFloating + hasTime + isFloating + principalSearch + + + + + bool + + + + + + string + + + + + is_array($newProps['filters']['comps']) + is_array($newProps['filters']['props']) + is_array($newProps['filters']['params']) + + + + + $webcalData + + + + + parent::getOwner() + + + + + $id + + + $this->getKey() + $this->getKey() + + + + + 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' + + + array + + + $uris + + + null + + + dispatch + dispatch + dispatch + + + $addressBooks[$row['id']][$readOnlyPropertyName] === 0 + + + \Sabre\Uri\split($row['principaluri']) + \Sabre\Uri\split($principalUri) + + + + + bool + + + + + string + + + $type + + + \Sabre\URI\parse($val) + + + + + string|null + + + \Sabre\Uri\split($principal) + \Sabre\Uri\split($principal) + \Sabre\Uri\split($principal) + + + + + $targetBookId + + + null + + + + + $shareEnumeration && $restrictShareEnumeration + + + + + $this->principalUri + $this->principalUri + + + + + $groups + + + + + int + + + null + + + + + $args['datetime'] + 200 + + + null + + + \Sabre\HTTP\toDate($value) + + + + + $value + + + + + is_string($name) + + + + + CommentsEntityEvent::EVENT_ENTITY + + + \Sabre\DAV\INode[] + int + + + $this->entityTypeCollections + null + + + dispatch + + + + + \Sabre\Uri\split($principal) + + + + + 'DummyBasic realm="' . $this->realm . '"' + + + + + bool + + + + + bool + + + + + tryTokenLogin + + + + + $node->getId() + + + \Sabre\Uri\split($node->getPath()) + + + + + $nodes + + + $this->dirContent + + + \Sabre\DAV\INode[] + + + $e->getCode() + + + null + null + null + + + \Sabre\Uri\split($sourceNode->getPath()) + + + $info + + + + + new SupportedLock(true) + + + + + $data + + + \Sabre\Uri\split($this->path) + + + writeStream + + + + + \Sabre\Uri\split($source) + \Sabre\Uri\split($destination) + \Sabre\Uri\split($filePath) + + + + + bool + + + 0 + 200 + + + $resultFileIds + + + new PreconditionFailed('Cannot filter by non-existing tag', 0, $e) + + + \OCA\Circles\Api\v1\Circles + + + getPath + getById + + + + + $this + + + int + integer + + + $this->info->getId() + $this->info->getId() + + + \Sabre\Uri\split($this->path) + \Sabre\Uri\split($name) + + + + + \Sabre\Uri\split($path) + \Sabre\Uri\split($destination) + \Sabre\Uri\split($destination) + + + + + array + + + $principals + + + string[] + + + null + $this->circleToPrincipal($name) + null + null + null + null + null + null + null + + + \OCA\Circles\Api\v1\Circles + \OCA\Circles\Api\v1\Circles + + + \Sabre\Uri\split($path) + \Sabre\Uri\split($prefix) + \Sabre\Uri\split($principal) + \Sabre\Uri\split($principal) + + + + + \Sabre\Uri\split($path) + + + getPath + getPath + + + + + new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true) + + + + + $shareType + + + + + $share->getShareType() + + + + + $shares + + + array + + + \Sabre\Uri\split($sabreNode->getPath()) + + + getId + getId + getPath + getPath + getId + + + $server->xml->namespacesMap + + + $server->xml->namespacesMap + + + + + null + + + getId + + + + + $guests + + + $vEvent->DTSTAMP + + + $vEvent->{'ATTENDEE'} + + + + + $whereValues + + + + + array + string + + + $principals + + + string[] + string[] + + + $members + + + null + null + null + null + null + null + null + + + + + $element['href'] + $element['href'] + $element['href'] + $element['readOnly'] + + + + + array + + + null + + + \Sabre\Uri\split($principal) + + + + + $this->enablePropfindDepthInfinityf + + + + + $body + + + + + $operator->arguments + $argument + + + $value + + + ?string + + + $operator->arguments[0]->name + + + + + \Sabre\Uri\split($this->principalInfo['uri']) + + + + + $this->backend->getArbiterPath() + + + isValidScope + + + + + \Sabre\Uri\split($principalInfo['uri']) + + + + + $this->usersToDelete + $this->usersToDelete + + + + + $qb->createParameter('ids') + + + + + $publicCalendarRoot->disableListing + + + + + $this->l10n->l('date', $startDateTime, ['width' => 'medium']) + + + + $this->l10n->l('date', $startDateTime, ['width' => 'medium']) + + + string + + + getDateTime + getDateTime + isFloating + getDateTime + setDateTime + hasTime + isFloating + getDateTime + setDateTime + + + + + getDateTime + getDateTime + hasTime + + + + + 'OCA\DAV\Connector\Sabre::authInit' + 'OCA\DAV\Connector\Sabre::addPlugin' + + + dispatch + dispatch + new QuotaPlugin($view, false) + + + $acl->defaultUsernamePath + + + + + int + + + null + + + + + int + + + null + + + + + int + + + null + + + + + SystemTagsEntityEvent::EVENT_ENTITY + + + dispatch + + + + + $members + + + \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) + + + + + false + + + $this->currentStream + + + $context + + + array + + + null + + + + + \Sabre\Uri\split($this->principalInfo['uri']) + + + + + $userSession && $userSession->isLoggedIn() + + + + + [$to => $recipientDisplayName] + + + setSubject + setHtmlBody + setPlainBody + + + + + $result + + + $position + $position + $position + + + boolean + + + + + $keyPair['publicKey'] + $keyPair['privateKey'] + + + time() + time() + time() + + + throw $exception; + + + $userSession && $userSession->isLoggedIn() + $encryptedFileKey && $shareKey + + + + + 1 + 0 + 0 + + + $userSession && $userSession->isLoggedIn() + + + + + new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0) + + + + + $this->crypt->createKeyPair() + + + $userSession && $userSession->isLoggedIn() + + + + + $userSession && $userSession->isLoggedIn() + + + + + $jobList + + + + + + $remoteId + $id + $id + $id + $id + $id + $id + + + + $permission === null + $remoteId === null + + + + + $qb->createNamedParameter($shareType) + $qb->createNamedParameter($itemType) + $qb->createNamedParameter($itemSource) + $qb->createNamedParameter($itemSource) + $qb->createNamedParameter($shareWith) + $qb->createNamedParameter($uidOwner) + $qb->createNamedParameter($sharedBy) + $qb->createNamedParameter($permissions) + $qb->createNamedParameter($token) + $qb->createNamedParameter(time()) + $qb->createNamedParameter('') + $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) + + + $token + $remoteId + + + list($token, $remoteId) + + + $shares + + + getSharesInFolder + + + $shareId + $shareId + $shareId + $shareId + $share->getId() + (int)$data['id'] + + + + + [$ocmResult['token'], $ocmResult['providerId']] + + + bool + bool + bool + bool + + + + + $shareId + + + string + + + $remoteId + $id + $id + $id + (int)$share['id'] + $id + $id + + + + + string + + + null + + + + + $jobList + + + + + $jobList + + + + + 'OCP\Federation\TrustedServerEvent::remove' + + + dbHandler + + + dispatch + + + + + $files_list + + + + + !$dirInfo->getType() === 'dir' + + + + + $this + $this + + + + + $query->createNamedParameter($favorites['items'], IQueryBuilder::PARAM_STR_ARRAY) + + + + + $this->fileEncrypted[$fileId] + + + $id + + + $this->fileIsEncrypted + $this->fileIsEncrypted + $this->fileIsEncrypted + $this->fileIsEncrypted + $this->fileIsEncrypted + $this->fileIsEncrypted + $this->fileIsEncrypted + + + + + 10 * 1024 * 1024 + + + + + 0 + $offset + $offset + + + + + $connection + + + \OCP\IDBConnection + + + null + + + + + $connection + + + \OCP\IDBConnection + + + null + null + + + + + $e->getCode() !== 0 ? $e->getCode() : 1 + + + int + + + + + $templateId + 'Failed to create file: ' . $e->getMessage() + 'Failed to open file: ' . $e->getMessage() + 'Failed to obtain template list: ' . $e->getMessage() + + + open + getTemplates + + + + + $fileId + + + getById + getRelativePath + getRelativePath + + + + + $file + $i + $i + $i + $i + $i + $i + $i + $i + $i + $i + $i + $i + + + + + $legacyEvent + + + + + getEditors + + + + + $encryptedFiles + + + empty($encryptedFiles) + + + isReadyForUser + + + + + self::class . '::' . $eventName + + + dispatch + + + + + $this + $this + + + + + run + + + + + $mountId + + + + + $mountId + + + + + $mountId + $mountId + + + null + + + + + $qb->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY, ':storage_ids') + + + $input->getArgument('mount_id') + $storage + + + + int + + + \OC_Util::normalizeUnicode($parent) + + + isConnected + + + + + $mountId + + + $status + $e->getCode() + + + + + new $objectClass($objectStore) + + + + + $this->service->getVisibilityType() + $this->service->getVisibilityType() + $status + $e->getCode() + + + + + getUniqueStorages + + + + + self + + + + + + string + + + + + FrontendDefinitionTrait + FrontendDefinitionTrait + + + + + IdentifierTrait + $this->deprecateTo + + + + + new MissingDependency($module, $this) + + + + + PriorityTrait + PriorityTrait + + + + + clearBucket + + + + + put + + + + + false + false + + + $this->handle + $this->handle + + + stream_close + + + substr($response, 4) + + + $context + + + array + + + + + false + false + false + + + $this->handle + $this->handle + + + stream_close + + + substr($response, 4) + + + $context + + + array + + + + + false + + + $files + + + \Icewind\SMB\IFileInfo + + + new CappedMemoryCache() + + + \Icewind\SMB\IFileInfo[] + + + $e->getCode() + $e->getCode() + $e->getCode() + $e->getCode() + $e->getCode() + $e->getCode() + $e->getCode() + + + null + + + rename + rename + + + + + $object->lastModified + + + filetype + fopen + + + $content + + + + + login + + + + + setIV + encrypt + setIV + decrypt + + + string + + + $message + + + test + + + Exception + + + Exception + + + + + 'OCA\\Files_External::loadAdditionalBackends' + + + dispatch + + + + + $builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY) + $builder->createNamedParameter($mountId, IQueryBuilder::PARAM_INT) + $builder->createNamedParameter($key, IQueryBuilder::PARAM_STR) + $builder->createNamedParameter($value, IQueryBuilder::PARAM_STR) + $builder->createNamedParameter($mountId, IQueryBuilder::PARAM_INT) + $builder->createNamedParameter($key, IQueryBuilder::PARAM_STR) + $builder->createNamedParameter(json_encode($value), IQueryBuilder::PARAM_STR) + $builder->createNamedParameter($mountId) + $builder->createNamedParameter($type) + $builder->createNamedParameter($value) + + + null + + + + + BackendService::VISIBILITY_ADMIN + + + string + + + + + $configId + + + + + $this->getVisibilityType() + $this->getVisibilityType() + + + getStorageCache + + + + + BackendService::VISIBILITY_PERSONAL + + + string + + + + + $_ + + + + + false + + + null + + + $entry + $entry + $entry + $entry + $entry + $entry + $entry + $entry + $entry + + + + + Constants::PERMISSION_ALL + + + + + getUserFolder + + + + + $this->getRoomShareHelper() + \OCA\Talk\Share\Helper\DeletedShareAPIController + + + + + 'https' + 'http' + + + + + Constants::PERMISSION_ALL + $code + $code + + + null + + + $date === false + + + \OCA\Circles\Api\v1\Circles + \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 + + + + + public function removeMount() { + + + + + scan + array + + + $recursive + + + $cacheData + + + $existingChild + $existingChild + + + + + $this->getPermissions($path) & Constants::PERMISSION_SHARE + + + isSharable + + + $response['{http://open-collaboration-services.org/ns}share-permissions'] + + + + + $legacyEvent + + + + + $exception->getMessage() + + + new JSONResponse($exception->getMessage(), 405) + + + NotFoundResponse + + + + + $query->createNamedParameter([IShare::TYPE_USER, IShare::TYPE_GROUP, IShare::TYPE_USERGROUP], IQueryBuilder::PARAM_INT_ARRAY) + + + + + array + + + null + + + + + $itemSource + $itemSource + + + $shareWith + + + + + fetchRow + + + + + bool + + + + + $this->sourceRootInfo + false + false + false + $this->nonMaskedStorage->fopen($this->getUnjailedPath($path), $mode) + false + + + 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 + new FailedCache() + + + isCreatable + isUpdatable + isDeletable + isSharable + + + $this->sourceRootInfo + + + new \OCA\Files_Sharing\Cache($storage, $sourceRoot, $this->superShare) + + + $this->mountOptions + + + + + moveMount + + + + + '\OCP\Collaboration\Resources::loadAdditionalScripts' + LoadAdditionalScriptsEvent::class + LoadSidebar::class + LoadViewer::class + + + dispatch + dispatch + dispatch + dispatch + + + + + int + + + $this->data->getId() + + + + + ITrash + + + $entry + + + ITrash + + + + + getChild + + + null + + + + + INode + + + + + \Sabre\Uri\split($this->principalInfo['uri']) + + + + + ITrash + + + $entry + + + ITrash + + + + + 'OCA\Files_Trashbin::moveToTrash' + + + $this->mountPoint + + + dispatch + + + + + null + + + $trashFiles + + + $file + getById + + + + + false + + + $ma + + + $query->execute([$uid]) + + + bool + + + $timestamp + $timestamp + + + + + $this + $this + + + + + $maxAge + + + + + getChild + + + null + + + + + \Sabre\Uri\split($principalInfo['uri']) + + + + + getChild + + + \Sabre\Uri\split($this->principalInfo['uri']) + + + + + 'OCA\Files_Versions::createVersion' + + + $timestamp + + + dispatch + 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 + + + + + ['user' => $appToken->getUID()] + + + $this->request->server + + + + + getName + getRedirectUri + getClientIdentifier + getSecret + + + + + + + + + + + getSubAdmin + + + + + $quota + + + $groupid === null || trim($groupid) === '' + + + $groupid === null + + + getSubAdmin + + + + + \OC_User::getUser() + + + getSettingsManager + + + + + $jobList + + + + + ignoreNextcloudRequirementForApp + + + + + getSubAdmin + + + + + IDBConnection::CHECK_MISSING_INDEXES_EVENT + IDBConnection::CHECK_MISSING_COLUMNS_EVENT + + + $lastCronRun + + + new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.') + $response + + + DataResponse + + + 0 + $lastCronRun + + + 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' + + + countUsersOfGroups + countDisabledUsersOfGroups + getLanguages + + + + + [$user->getEMailAddress() => $user->getDisplayName()] + + + + + [$user->getEMailAddress() => $user->getDisplayName()] + + + + + isReady + + + + + Constants::PERMISSION_ALL + + + null + + + + + '5' + + + int + + + + + $uid + + + getLanguages + + + + + ?string + + + null + + + + + string + + + null + + + + + $qb->createNamedParameter(IShare::TYPE_EMAIL) + $qb->createNamedParameter($itemType) + $qb->createNamedParameter($itemSource) + $qb->createNamedParameter($itemSource) + $qb->createNamedParameter($shareWith) + $qb->createNamedParameter($uidOwner) + $qb->createNamedParameter($sharedBy) + $qb->createNamedParameter($permissions) + $qb->createNamedParameter($token) + $qb->createNamedParameter($password) + $qb->createNamedParameter($sendPasswordByTalk, IQueryBuilder::PARAM_BOOL) + $qb->createNamedParameter(time()) + $qb->createNamedParameter((int)$hideDownload, IQueryBuilder::PARAM_INT) + $qb->createNamedParameter('') + $qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + + + $shares + + + getSharesInFolder + + + $shareId + $shareId + $share->getId() + (int)$data['id'] + + + + + $event->getObjectId() + $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 + + + + + 'r' + $newHeight + 'r' + 'r' + + + + + $offset_w + $offset_h + + + + + string + + + + + \OCP\Util::sanitizeHTML($this->config->getAppValue('theming', 'slogan', parent::getSlogan($lang))) + + + getSlogan + + + (int)$cacheBusterKey+1 + + + null + null + + + + + 0 + + + int[] + + + $folder !== null + + + + + $registry + + + run + + + getProviderStates + + + + + bool + + + + + bool + + + + + $newToken + + + 0 + $this->timeFactory->getTime() + + + + + $this->users + + + 0 + $errors + 0 + + + + + 0 + + + + + $this->config->getAppValue('core', 'updater.secret.created', $this->timeFactory->getTime()) + + + $this->timeFactory->getTime() + + + + + $lastUpdateCheckTimestamp + + + + + $ln+1 + + + + + $this + + + + + $this->countUsers($filter) + + + $record + + + $values + $uuid + + + string[] + + + [$attr => $result['values']] + $key + $key + $e->getCode() + $nameAttribute + $filter + $this->connection->ldapLoginFilter + $this->connection->ldapLoginFilter + $this->connection->ldapUserDisplayName + $this->connection->ldapUserDisplayName + $this->connection->ldapGroupDisplayName + $filter + + + $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_array($attr) + !is_null($attr) && !is_array($attr) + isset($ldapRecord[$this->connection->$uuidAttr]) + + + $uidsByDn + + + + + 'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded' + + + dispatch + + + + + time() + + + + + string + + + LDAP_OPT_PROTOCOL_VERSION + LDAP_OPT_REFERRALS + + + null + + + + + + $this->cachedGroupMembers[$gid] + 'dn' + $this->cachedGroupsByMember[$uid] + + + new CappedMemoryCache() + new CappedMemoryCache() + new CappedMemoryCache() + $this->cachedGroupMembers + $this->cachedNestedGroups + $this->cachedGroupsByMember + + + $groupName + + + bool + + + $gAssoc + $this->access->connection->ldapLoginFilter + $this->access->connection->ldapDynamicGroupMemberURL + $this->access->connection->ldapGroupFilter + $this->access->connection->ldapGroupMemberAssocAttr + $this->access->connection->ldapGidNumber + $groupID + $groupID + $this->access->connection->ldapDynamicGroupMemberURL + $this->access->connection->ldapGroupFilter + $this->access->connection->ldapUserDisplayName + $this->access->connection->ldapGroupMemberAssocAttr + [strtolower($this->access->connection->ldapGroupMemberAssocAttr), $this->access->connection->ldapGroupDisplayName, 'dn'] + $this->access->connection->ldapLoginFilter + $this->access->connection->ldapUserDisplayName + $this->access->connection->ldapLoginFilter + $this->access->connection->ldapUserDisplayName + [$this->access->connection->ldapGroupDisplayName, 'dn'] + $this->access->connection->ldapGroupFilter + $this->access->connection->ldapGroupDisplayName + + + !is_array($members) || count($members) === 0 + is_array($members) + is_array($list) + is_array($groupDNs) + + + is_array($members) + + + + + protected function walkBackends($gid, $method, $parameters) { + protected function callOnLastSeenOn($gid, $method, $parameters, $passOnWhen) { + + + + + $lastNumber + 1 + + + + + Resource + + + + + 0 + $newOffset + 50 + + + + + $lastChange + $i + + + self::MIN_INTERVAL + $interval + 0 + 0 + + + $argument + + + null + + + + + \OC::$server->getConfig()->getAppValue('user_ldap', 'bgjRefreshInterval', 3600) + + + int + + + 3600 + + + + + $link + $link + $result + $link + $link + $link + $result + $link + $result + $link + $result + $link + $result + $link + $link + $baseDN + $link + $baseDN + $link + $link + $link + $resource + + + $baseDN + + + bool|mixed + mixed|true + mixed + mixed + array|mixed + mixed|string + array|mixed + mixed + mixed + mixed + bool|mixed + mixed|true + bool|mixed + + + Resource + + + + + OCP\LDAP\ILDAPProvider + + + + OCP\LDAP\ILDAPProvider + + + OCP\LDAP\ILDAPProvider + + + + + bool + + + + + $qb->createNamedParameter($fdns, QueryBuilder::PARAM_STR_ARRAY) + + + + + protected function handleRequest($id, $method, $parameters, $passOnWhen = false) { + + + + + public function setLdapAccess(Access $access) { + + + $homeRule + $homeRule + + + + + $this->avatarImage + + + $this->refreshedFeatures + + + null + null + + + $this->connection->ldapQuotaAttribute + $this->connection->ldapUserDisplayName + $this->connection->ldapUserDisplayName2 + $this->connection->ldapEmailAttribute + $this->connection->homeFolderNamingRule + $this->connection->homeFolderNamingRule + $this->getHomePath($ldapEntry[$attr][0]) + $this->connection->ldapExtStorageHomeAttribute + $this->access->connection->homeFolderNamingRule + $this->access->connection->homeFolderNamingRule + true + 1 + time() + 86400 + $emailAttribute + $quotaAttribute + $this->connection->ldapExtStorageHomeAttribute + + + + + string|false + + + $this->access->connection->ldapUserFilter + $this->access->connection->ldapUserFilter + $path + $additionalAttribute + $this->access->connection->ldapUserDisplayName + $limit + $offset + + + $limit + $offset + + + null + + + + + $users + + + + + false + false + + + $er + $er + $er + $attributes + + + private function detectGroupMemberAssoc() { + private function checkAgentRequirements() { + private function getAttributeValuesFromEntry($result, $attribute, &$known) { + + + $port + $port + 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($userIds, IQueryBuilder::PARAM_STR_ARRAY) + + + + + + string|null + + + + + null + + + + + $this->size + + + $size + + + $this->size + + + string + + + + + $decodedValue[1] + $decodedValue[1] + $decodedValue[1] + $decodedValue[1] + + + + + $hour1 + $minute1 + + + + + ['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_ENTITY + IManager::EVENT_NAME_REG_OPERATION + IManager::EVENT_NAME_REG_CHECK + + + [] + + + array_merge($this->getBuildInChecks(), $this->registeredChecks) + + + ICheck[] + + + $missingCheck + + + dispatch + dispatch + dispatch + + + + + $selectQuery->execute() + + + Statement + + + + + isUserScopeEnabled + getOperations + getAllConfiguredScopesForOperation + getOperations + getChecks + + + + + getSection + + + $this->manager->isUserScopeEnabled() ? 'workflow' : null + + + + + run + + + + + + + + null|int + + + null|int + + + + + $result === false + + + + + array + + + + + null|int + + + null|int + + + + + 0 + 1 + + + + + $this->appConfig->getValues($app, false) + + + getFilteredValues + + + + + null|int + + + null|int + + + + + IDBConnection::ADD_MISSING_COLUMNS_EVENT + + + dispatch + + + + + IDBConnection::ADD_MISSING_INDEXES_EVENT + + + dispatch + + + + + $insertQuery->createParameter($key) + + + setFilterSchemaAssetsExpression + + + $chunkSize + $chunk * $chunkSize + + + 0 + 1 + + + + + $column->getLength() + + + + + null + + + + + [0] + + + string[] + + + + + \DateTimeZone::listIdentifiers() + + + $levelNum + + + + + $this->timeFactory->getTime() + + + + + $k[0] + + + + + getAllMappings + updateFilecache + + + + + getAllAliases + + + + + 0 + 0 + 0 + 0 + 0 + 0 + + + + + section + section + + + + + 0 + 1 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + + + $this->installer + + + $this->installer + + + + + $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 + + + + + null + null + null + + + + + $this + $this + + + + + getIcon + + + + + getIncompatibleApps + getAppsNeedingUpgrade + + + ['user' => $uid] + $restrictions + + + true + + + ((array)$request->getParam('appid')) !== '' + + + + + 'OC\AccountManager::userUpdated' + + + dispatch + + + + + $this->filterClasses + $this->providerClasses + $this->settingsClasses + + + !is_string($currentUserId) && $currentUserId !== null + + + + + $key + + + + + ManagerEvent::EVENT_APP_ENABLE + ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS + ManagerEvent::EVENT_APP_DISABLE + + + array + array + + + dispatch + dispatch + dispatch + + + $group === null + + + + + 'version_compare' + + + + + fetch + + + + + $this->tableVariableNames + $this->tableVariableNames + + + + + $node->alias + + + + + bool + + + version_compare($first, $second, $operator) + + + + + $array[$element][] + $array[$element][] + + + (string)$xml + + + array + + + + + $this->config + + + $this->config + + + + + null + + + $this->packages + + + + + $values + + + $default + + + + + $this->bootedApps + + + + + boolean|null + + + $this->server + + + \OCP\IServerContainer + mixed + + + getAppDataDir + + + + + $throwable->getCode() + + + $this->request->method + + + null + + + + + @readfile($path) + http_response_code() + + + bool + int + + + + + $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 + $name + $this->getOverwriteHost() + $host + + + \is_array($params) + + + \Sabre\Uri\split($scriptName) + + + + + 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 + + + + + + + + $default + + + + + $closure + + + + + false + + + $this->tar->extractInString($path) + + + string + + + $this->tar->extractInString($path) + + + + + boolean|null + boolean|null + + + + + $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[] + + + + + IProvider::EVENT_SUCCESS + IProvider::EVENT_FAILED + $tokenId + + + $providerStates + + + string[] + + + $tokenId + $token->getId() + $this->timeFactory->getTime() + + + dispatch + dispatch + + + + + $this->providers + + + [] + $this->providers + + + $this->providers + + + IProvider[] + + + $this->providers + + + + + $provider['provider_id'] + + + + + + + + Color + + + $finalPalette[$this->hashToInt($hash, $steps * 3)] + + + Color + + + + + InMemoryFile + + + + + ISimpleFile + + + (int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1 + $data + $data + + + + + $job->getId() + + + + + $jobList + + + + + set + + + + + bool|mixed + bool|mixed + + + + + $this->shareeEnumerationInGroupOnly + + + $this->shareeEnumerationInGroupOnly + $this->shareeEnumerationInGroupOnly + + + + + $this->shareeEnumerationInGroupOnly + + + $this->shareeEnumerationInGroupOnly + + + + + search + + + + + + $user instanceof IUser + + + '' + + + + + \DateTime|null + + + + + + public function getForObjectSince( + + + null + + + + + $needsUpdate + + + + + ConsoleEvent::EVENT_RUN + + + $this->request->server + + + dispatch + + + $this->application + + + $this->application + $this->application + $this->application + $this->application + + + + + !isset($info['contactsmenu']) || !isset($info['contactsmenu']) + + + + + $mailAddresses + + + + + string + + + string + + + $this->emailAddresses + + + string + + + $this->avatar + + + + + IEntry + + + $entry + + + + + IAddressBook[] + + + bool + array + IAddressBook + + + null + null + null + null + null + + + + + $builder->createNamedParameter($value) + + + $builder->execute() + + + int + + + + + $this->conn->fetchColumn('SELECT lastval()') + + + $builder->createNamedParameter($value) + + + + + string + + + $this->adapter->lastInsertId($seqName) + $insertQb->execute() + + + string + int + + + $e->getCode() + + + + + new Configuration() + + + + + $options['default'] + + + + + setFilterSchemaAssetsExpression + + + $column->getLength() + + + + + $offset + $offset + + + $this->migrationsPath + $this->migrationsNamespace + $this->migrationsPath + $this->migrationsNamespace + + + $this->migrationsPath + $this->migrationsNamespace + $this->migrationsNamespace + $this->migrationsPath + + + + + setFilterSchemaAssetsExpression + setFilterSchemaAssetsExpression + setFilterSchemaAssetsExpression + + + '\OC\DB\Migrator::executeSql' + '\OC\DB\Migrator::checkTable' + + + dispatch + dispatch + + + + + $key[0] + + + + + setFilterSchemaAssetsExpression + + + + + $this->functionBuilder->lower($x) + + + $connection + + + $y + $y + + + + + parent::castColumn($column, $type) + + + IQueryFunction + + + + + $this->functionBuilder->lower($x) + + + + + $this->connection + + + string + + + $alias + + + + + string + + + $string + + + + + + public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) { + public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) { + + + + string + + + + + $timestamp + + + + + float + + + + + microtime(true) + + + + + $query->execute() + + + TemplateResponse + int + + + $template + $template + + + + + getShareForToken + + + + + new CappedMemoryCache() + + + + + deleteUserKey + + + null + null + null + + + + + bool + + + + + dispatch + + + + + $this->event->offsetSet($key, $value) + $this->event->offsetUnset($key) + + + + + $eventName + + + void + + + $eventName + + + dispatch + + + + + $pos !== false + + + + + $builder->createNamedParameter($value) + $fun->md5($newPathFunction) + $newPathFunction + + + $parentData + + + array + + + $path + $path + \OC_Util::normalizeUnicode($path) + + + null + null + + + $sourceData + $sourceData + $parentData + $parentData + $entry + + + + + [] + + + put + insert + getIncomplete + + + + + $data + + + $path + + + $entry + $entry + $entry + $filesData + $data + + + closeCursor + + + + + scanFile + scan + + + null + null + + + + + $builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT)) + $query->createFunction('GREATEST(' . $query->getColumnName('mtime') . ', ' . $query->createParameter('time') . ')') + $sizeQuery->func()->add('size', $sizeQuery->createParameter('size')) + + + + + $value + $value + $value + $value + + + + + array + + + $existingChildren + + + array[] + + + $path + self::SCAN_RECURSIVE_INCOMPLETE + + + null + null + null + null + + + $data ?? $this->getData($file) + + + $child + + + + + array + + + self::getGlobalCache()->getStorageInfo($storageId) + + + + + $builder->createNamedParameter(array_values($storageIds), IQueryBuilder::PARAM_STR_ARRAY) + + + + + $this->cache instanceof Cache + + + + + $cachedData + $entry + $entry + + + + + array + + + $entry + + + array + + + array + array + + + $entry + + + + + $entry + + + formatCacheEntry + + + $entry + + + + + array + + + + + Node + + + null + + + + + $user + + + get_class($provider) !== 'OCA\Files_Sharing\MountProvider' + + + get_class($provider) === 'OCA\Files_Sharing\MountProvider' + + + + + $builder->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY) + + + + removeUserStorageMount + remoteStorageMounts + + + array + + + $this->mountsForUsers + $this->mountsForUsers + $this->mountsForUsers + $this->mountsForUsers + $this->mountsForUsers + $this->mountsForUsers + $this->cacheInfoCache + $this->cacheInfoCache + $this->cacheInfoCache + + + + + $this->data + $data + $data + $data + + + + + string + + + self::$defaultInstance->toTmpFile($path) + + + string + + + $user + $user + \OC_User::getUser() + + + null + + + $userObject + + + addStorageWrapper + + + + + $exception->getCode() + + + null + + + wrap + + + + + public function removeMount(); + + + + + \OCP\Files\Mount\IMountPoint + + + null + + + + + new NonExistingFile($this->root, $this->view, $path) + $this->view->hash($type, $this->path, $raw) + + + string + string + + + $this->view->hash($type, $this->path, $raw) + + + $this->exists + + + + + + string + + + new NonExistingFolder($this->root, $this->view, $path) + $this->root->get($this->getFullPath($path)) + + + string + \OC\Files\Node\Node + + + $node + + + null + + + getUnJailedPath + getSourceStorage + + + $this->exists + + + + + '\OCP\Files::preWrite' + '\OCP\Files::postWrite' + '\OCP\Files::preCreate' + '\OCP\Files::postCreate' + '\OCP\Files::preDelete' + '\OCP\Files::postDelete' + '\OCP\Files::preTouch' + '\OCP\Files::postTouch' + '\OCP\Files::preRename' + '\OCP\Files::postRename' + '\OCP\Files::preCopy' + '\OCP\Files::postCopy' + '\OCP\Files::read' + + + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + + + emit + emit + emit + emit + emit + emit + emit + emit + emit + emit + emit + emit + emit + + + + + $this->__call(__FUNCTION__, func_get_args()) + + + + + Node + + + '\OCP\Files::' . $hook + + + int + + + $this->root->get($newPath) + $targetNode + $targetNode + + + Node + getChecksum + \OC\Files\Node\Node + \OC\Files\Node\Node + + + $this->getFileInfo()->getId() + + + dispatch + + + $this->fileInfo + + + + + string + Node + + + \OC\User\User + \OC\Files\Mount\MountPoint + int + array + int + int + string + + + $this->createNode($fullPath, $fileInfo) + + + string + + + $this->user + $this->mountManager->find($mountPoint) + null + null + null + null + null + + + remove + + + + + false|string + + + + + $folderData + + + $cacheData + + + + + $child + $child + $child + $file + + + + + ClientResolver::_default_signature_provider() + + + ClientResolver::_default_signature_provider() + + + \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()) + + + + + upload + + + \Aws\serialize($command) + + + + + null + + + Psr7\modify_request($request, $modify) + Psr7\parse_query($query) + + + + + string + + + + + stream_for($handle) + stream_for($handle) + + + + + $this->params['url'] + + + + + string|false + + + getMetaData + array + + + !$permissions + + + $count + + + file_put_contents + + + $storage->cache + $storage->cache + $storage->scanner + $storage->scanner + $storage->propagator + $storage->propagator + $storage->updater + $storage->updater + + + null + $this->getStorageCache()->getAvailability() + + + + + int + + + ArrayCache + ArrayCache + + + getETag + + + $response->getBody() + $result + + + fopen + int + + + null + + + null + + + $cachedData + $cachedData + $cachedData + + + + + true + new FailedCache() + + + verifyPath + getCache + + + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + $this->e->getCode() + + + + + $this->flysystem->getTimestamp($this->buildPath($path)) + + + filemtime + + + + + $file + + + getMetaData + + + $helper->getFileSize($fullPath) + file_put_contents($this->getSourcePath($path), $data) + $space + + + filesize + file_put_contents + free_space + + + null + $helper->getFileSize($fullPath) + + + is_null($space) + $space === false || is_null($space) + + + $stat === false + + + + + $storage->scanner + $storage->scanner + + + + + mkdir + rmdir + opendir + is_dir + is_file + stat + filesize + isCreatable + isReadable + isUpdatable + isDeletable + isSharable + getPermissions + file_exists + filemtime + file_get_contents + file_put_contents + unlink + rename + copy + fopen + getMimeType + hash + free_space + search + touch + getLocalFile + hasUpdated + getOwner + getETag + getDirectDownload + copyFromStorage + moveFromStorage + getMetaData + + + \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 + + + $this->storage->filetype($this->findPathToUse($path)) + + + bool + + + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + $this->namesCache + + + + + $this->storage->filesize($path) + false + $this->storage->file_get_contents($path) + $this->storage->getLocalFile($path) + $stat + + + resource|bool + + + $source + $target + + + array + + + $written + $newUnencryptedSize + + + bool + int + + + $lastChunkPos + $newUnencryptedSize + + + null + + + $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 + + + $this->getWrapperStorage()->filetype($this->getUnjailedPath($path)) + + + bool + + + + + $this->checkMask($permissions) ? parent::fopen($path, $mode) : false + + + + + $this->storage->free_space($path) + $source + + + $extension === 'part' + + + string + + + 'ext' + + + $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 + + + $this->getWrapperStorage()->filetype($path) + $this->getWrapperStorage()->test() + + + bool + true + + + + + $newFilePosition + $newFilePosition + $position + + + $cacheEntry + + + + + false + false + false + + + $this->current + $this->current + + + stream_close + stream_flush + + + + + $update->func()->lower('name') + + + $update->execute() + + + int + + + + + $mounts + + + \OC\Files\Mount\MountPoint[] + + + + + $mount + $mount + + + string + \OCP\Files\Mount\IMountPoint + + + $results + + + \OC\Files\Mount\MountPoint + + + $mtime + $user + $fileId + + + null + Filesystem::getMountManager()->find($this->getAbsolutePath($path)) + null + null + null + $mount + + + $storage1 + is_resource($source) + $result && in_array('delete', $hooks) and $result + + + list($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()) + + + + + $builder->createNamedParameter($gid) + $builder->createNamedParameter($gid) + $qb->createNamedParameter($uid) + $qb->createNamedParameter($gid) + + + + $this->groupCache[$gid]['displayname'] + + + $this->groupCache + $this->groupCache + $this->groupCache + + + + + IGroup::class . '::preAddUser' + IGroup::class . '::postAddUser' + IGroup::class . '::preRemoveUser' + IGroup::class . '::postRemoveUser' + IGroup::class . '::preDelete' + IGroup::class . '::postDelete' + + + $hide + + + $user + + + dispatch + dispatch + dispatch + dispatch + dispatch + dispatch + + + addToGroup + removeFromGroup + countUsersInGroup + deleteGroup + + + + + $groupId + + + $groupId + + + $groups + + + \OC\Group\Group[] + + + getGroupDetails + createGroup + isAdmin + + + + + $sortMode + self::SORT_NONE + + + getSubAdmin + + + + + string|resource + + + + + + false + + + $app['path'] + $app['path'] + + + null + + + $archive + + + + + $x509->getDN(X509::DN_OPENSSL)['CN'] + $x509->getDN(X509::DN_OPENSSL)['CN'] + $x509->getDN(true)['CN'] + + + getAllAliases + getOnlyDefaultAliases + + + + + null|string + + + array + array|mixed + + + + + + $this->pluralFormFunction + + + \Closure + + + + + $matches[1] + $result + + + $data + + + + + $query->func()->subtract('lock', $query->createNamedParameter(1)) + $builder->func()->subtract('lock', $builder->expr()->literal(1)) + $builder->createNamedParameter($chunk, IQueryBuilder::PARAM_STR_ARRAY) + + + + + get + + + [] + + + getIncomplete + + + + + + getPermissions + getOwner + + + new IteratorDirectory([]) + new NullCache() + + + opendir + getCache + + + null + null + + + new IteratorDirectory([]) + + + + + $callback() + + + $sessionCallback + + + + + $request && hash_equals($logCondition['shared_secret'], $logSecretRequest) + + + + + $limit === null ||$entriesCount < $limit + + + + + is_string($request->getMethod()) + + + + + $this->c->resolve(Syslog::class) + $this->c->resolve(Systemdlog::class) + + + IWriter + + + + + + + + string[] + + + $failedRecipients + + + 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 + + + + + mixed + mixed + mixed + mixed + + + + + $lockingCacheClass && class_exists($distributedCacheClass) && $lockingCacheClass::isAvailable() + + + + + method_exists(self::$cache, 'deleteMulti') + + + \Memcached::HAVE_IGBINARY + + + + + exec + exec + + + self::$cache->exists($this->getNameSpace() . $key) + + + hasKey + + + + + $jobList + + + + + !($notification instanceof INotification) || !$notification->isValidParsed() + !($notification instanceof INotification) || !$notification->isValidParsed() + + + + + [] + + + + + $bp + + + + + IPreview::EVENT + $maxPreviewImage + + + ISimpleFile + + + $file->getId() + $file->getId() + + + ISimpleFile + + + $preview + + + dispatch + + + valid + height + width + width + height + preciseResizeCopy + resizeCopy + + + + + bool|IImage + + + $provider->getThumbnail($file, $maxWidth, $maxHeight) + + + + + $bp + + + + + $second + $second + + + + + shell_exec($exec) + shell_exec('command -v libreoffice') + shell_exec('command -v openoffice') + + + $png + + + + + $thumbnail === false ? null: $thumbnail + + + ?IImage + + + + + $file->getStorage()->getLocalFile($file->getInternalPath()) + + + + + $svg + + + + + shell_exec('command -v libreoffice') + shell_exec('command -v openoffice') + + + + + new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password']) + new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout) + + + \RedisCluster::OPT_SLAVE_FAILOVER + + + + + array + + + + + $request->getBody() + + + bool|string + + + $response + + + + + "$scope::$method" + + + dispatch + + + + + $query->createNamedParameter($users, IQueryBuilder::PARAM_STR_ARRAY) + $qb->createParameter('ids') + + + + + $subQuery->createFunction('(' . $subSubQuery->getSQL() . ')') + $query->createFunction('(' . $subQuery->getSQL() . ')') + $query->createFunction('(' . $subQuery->getSQL() . ')') + + + $this->userToNotify + + + $query->execute() + + + \Doctrine\DBAL\Driver\Statement + + + + + $permsFunc + + + + + \OC_DB::executeAudited(self::updateByNameStmt(), [$mimetypeId, $this->folderMimeTypeId, $mimetypeId, '%.' . $extension]) + + + + + \OC_APP + + + string + + + $this->collectionName + + + $file !== false + + + + + $provider instanceof Provider + + + + + $data->getId() + $data->getPermissions() + $data->getMtime() + $this->hasPreview($data) + + + + + $qb->createNamedParameter($value) + + + null + + + + + $this->request->server + + + + + string|null + string|null + string|null + + + + + null + + + + + $qb->execute() + $qb->execute() + + + int + int + + + + + setPassword + setIV + encrypt + setPassword + setIV + decrypt + + + + + \OCP\Calendar\Resource\IManager + \OCP\Calendar\Room\IManager + \OCP\Files\Folder|null + + + setSQLLogger + + + 'OCP\IUser::preDelete' + + + + $uid + + + $userId + + + dispatch + + + \OC\OCSClient + + + + + $this->hasNoAppContainer + + + + + $value + + + + + $value + + + + + microtime(true) + microtime(true) + + + $content !== '' + + + + + $this->dbprettyname + $this->dbprettyname + $this->dbprettyname + $this->dbprettyname + + + + + array + + + + + false + + + $arguments + + + !self::isResharingAllowed() + + + \OC_User::getUser() + $shareWith + \OC_User::getUser() + + + getParents + getParents + + + + + $qb->createNamedParameter($share->getShareType()) + $qb->createNamedParameter($share->getSharedWith()) + $qb->createNamedParameter(IShare::STATUS_PENDING) + $qb->createNamedParameter($share->getExpirationDate(), 'datetime') + $qb->createNamedParameter($share->getSharedWith()) + $qb->createNamedParameter($share->getExpirationDate(), 'datetime') + $qb->createNamedParameter($share->getLabel()) + $qb->createNamedParameter($share->getToken()) + $qb->createNamedParameter($share->getPassword()) + $qb->createNamedParameter($share->getSendPasswordByTalk(), IQueryBuilder::PARAM_BOOL) + $qb->createNamedParameter($share->getExpirationDate(), 'datetime') + $qb->createNamedParameter($share->getParent()) + $qb->createParameter('itemType') + $qb->createNamedParameter($share->getNode()->getId()) + $qb->createNamedParameter($share->getNode()->getId()) + $qb->createNamedParameter($share->getPermissions()) + $qb->createNamedParameter($share->getSharedBy()) + $qb->createNamedParameter($share->getShareOwner()) + $qb->createNamedParameter($share->getTarget()) + $qb->createNamedParameter(time()) + $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 + + + getSharesInFolder + + + $share->getId() + $share->getId() + (int)$data['id'] + + + set + + + getParent + + + + + 'OCP\Share::preShare' + 'OCP\Share::postShare' + 'OCP\Share::postAcceptShare' + 'OCP\Share::preUnshare' + 'OCP\Share::postUnshare' + 'OCP\Share::postUnshareFromSelf' + $data + + + $this->shareApiLinkDefaultExpireDays() + $this->shareApiLinkDefaultExpireDays() + $id + + + dispatch + dispatch + update + dispatch + dispatch + dispatch + dispatch + + + \OCA\Circles\Api\v1\Circles + + + getChildren + + + + + FederatedShareProvider + ShareByMailProvider + + + $this->shareByCircleProvider + $this->roomShareProvider + $provider + $provider + $shares + + + getProvider + getProviderForType + getAllProviders + + + null + null + null + null + null + null + + + \OCA\Circles\ShareByCircleProvider + + + \OCA\Circles\ShareByCircleProvider + \OCA\Talk\Share\RoomShareProvider + RoomShareProvider + private $shareByCircleProvider = null; + private $roomShareProvider = null; + + + getLazyRootFolder + getLazyRootFolder + getLazyRootFolder + getLazyRootFolder + + + + + $fh + + + get + + + + + listen + listen + + + + + getSupportedApps + + + + + false + false + false + + + $query->createParameter('tagids') + $query->createParameter('tagids') + $query->createParameter('tagids') + + + ManagerEvent::EVENT_CREATE + ManagerEvent::EVENT_UPDATE + ManagerEvent::EVENT_DELETE + + + bool + bool + + + dispatch + dispatch + dispatch + + + + + $query->createParameter('objectids') + $query->createNamedParameter($tagIds, IQueryBuilder::PARAM_INT_ARRAY) + $query->createParameter('tagids') + $query->createParameter('objectids') + + + MapperEvent::EVENT_ASSIGN + MapperEvent::EVENT_UNASSIGN + + + dispatch + dispatch + + + + + \OCP\ITags + + + null + + + + + [$this->user, $this->type, $chunk] + + + $from + $names + + + $tag + + + + + false + false + + + + + null + null + + + + + $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') + + + $found + + + + + Compiler::LINE_COMMENTS + + + + + string + string + + + \OC_User::getUser() + \OC_User::getUser() + $appName + $appName + + + Util::addScript('dist/unified-search', null, true) + + + getInitialStates + + + + + $path + + + + + 0 + 0 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + + + \OC_DB::simulateUpdateDbFromStructure(\OC_App::getAppPath($appId) . '/appinfo/database.xml') + + + + + time() + microtime(true) + + + + + $limit + $offset + + + + + false + + + $query->func()->lower('displayname') + + + + $offset + $offset + + + + + array|int + + + $queryBuilder->createNamedParameter($groups, IQueryBuilder::PARAM_STR_ARRAY) + + + bool|IUser + + + $limit + $offset + + + $this->createUserFromBackend($uid, $password, $backend) + $this->createUserFromBackend($uid, $password, $backend) + + + checkPassword + createUser + countUsers + getUsersForUserValueCaseInsensitive + + + + + boolean|null + + + IUser::class . '::firstLogin' + + + $this->timeFactory->getTime() + $this->timeFactory->getTime() + + + $request->server + $request->server + + + null + + + dispatch + + + + + IUser::class . '::preDelete' + IUser::class . '::postDelete' + IUser::class . '::preSetPassword' + IUser::class . '::postSetPassword' + IUser::class . '::changeUser' + + + getBackend + + + $this->config->getUserValue($uid, 'login', 'lastLogin', 0) + + + $image + + + IImage|null + + + $this->lastLogin + $quota + + + $this->backend + + + dispatch + dispatch + dispatch + dispatch + dispatch + + + setDisplayName + deleteUserAvatar + setPassword + getHome + canChangeAvatar + + + + + + $class + + + + + int + + + null + + + + + $groupsList + ManagerEvent::EVENT_APP_UPDATE + + + $dir['path'] + $dir['url'] + + + null + + + null + + + $appId === null || trim($appId) === '' + + + dispatch + + + $appId === null + + + + + $result + + + OC_DB_StatementWrapper + + + + + $this->statement->fetchColumn($column) + + + + + $this->fallback + + + + + \OC\InsufficientStorageException + + + + + $fileInfos + [$fileInfo] + $fh + + + mt_rand() + + + $getType === self::ZIP_DIR + $getType === self::ZIP_DIR + + + get + get + + + + + (INF > 0)? INF: PHP_INT_MAX + INF + max($upload_max_filesize, $post_max_size) + min($upload_max_filesize, $post_max_size) + + + int + + + $path + $includeExtStorage ? 'ext' : false + $quota + 'ext' + + + count($obd_values) > 0 and $obd_values[0] + + + getSourceStorage + + + + + $this->valid() ? imagesx($this->resource) : -1 + $this->valid() ? imagesy($this->resource) : -1 + $this->resource + + + null|string + + + $data[floor($p)] + $data[floor($p)] + + + bool + + + $bits + $lastIndex + $this->bitDepth + 90 + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $imagePath + $x + $y + + + bool + + + $isWritable && file_exists($filePath) + + + + + OC_User::getUser() + + + + + boolean|string + + + + + \Test\Util\User\Dummy + + + + + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false) + \OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging) + + + $version + $version + $version + $version + + + OC_Helper::computerFileSize($userQuota) + + + float + + + $user + OC_User::getUser() + + + is_string($expected) + 'off' + + + is_bool($expected) + is_int($expected) + is_bool($setting[1]) + + + clearCache + + + + + $this->request->server + + + + + ContainerExceptionInterface + + + + + string + + + $column + + + + + $qb->createNamedParameter($value, $type) + + + + + $this->data + + + array + + + + + $this->data + + + array + + + + + + + + $template->fetchPage($this->params) + + + string + + + + + $resource['size'] + $resource['resource'] + $resource['internalName'] + $resource['size'] + $resource['time'] + + + $this->resources + + + + + Closure + + + Closure + + + + + $jobList + + + + + IAddressBook[] + + + + + 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() + + + diff --git a/psalm.xml b/psalm.xml index 0beffd3571d..2766d407468 100644 --- a/psalm.xml +++ b/psalm.xml @@ -5,6 +5,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config" + errorBaseline="build/psalm-baseline.xml" >