diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index b83f8bd02a..56f398dee9 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -202,11 +202,10 @@ - + $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) @@ -1204,18 +1203,7 @@ - - $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) @@ -1703,17 +1691,8 @@ - + $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 @@ -1755,10 +1734,9 @@ - + 'ExternalMountProvider' - 'OCP\Collaboration\Resources::loadAdditionalScripts' - 'OCP\Share::postShare' + '\OCP\Collaboration\Resources::loadAdditionalScripts' @@ -2073,15 +2051,6 @@ false - - $ma - - - $query->execute([$uid]) - - - bool - $timestamp $timestamp @@ -2135,11 +2104,6 @@ getURLGenerator - - - 'OC\AccountManager::userUpdated' - - $publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value'] @@ -2217,8 +2181,9 @@ - + IDBConnection::CHECK_MISSING_INDEXES_EVENT + IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT IDBConnection::CHECK_MISSING_COLUMNS_EVENT @@ -2235,7 +2200,8 @@ 0 $lastCronRun - + + dispatch dispatch dispatch @@ -2308,21 +2274,7 @@ - - $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) @@ -2485,19 +2437,11 @@ 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 @@ -2568,27 +2512,9 @@ 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 @@ -2724,10 +2650,6 @@ public function setLdapAccess(Access $access) { - - $homeRule - $homeRule - @@ -2740,34 +2662,18 @@ 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 - $emailAttribute - $quotaAttribute - $this->connection->ldapExtStorageHomeAttribute string|false - - $this->access->connection->ldapUserFilter - $this->access->connection->ldapUserFilter + $path - $additionalAttribute - $this->access->connection->ldapUserDisplayName $limit $offset @@ -2979,7 +2885,7 @@ - broadcasttest + 'broadcasttest' @@ -3028,10 +2934,15 @@ dispatch + + + IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT + + + dispatch + + - - $insertQuery->createParameter($key) - setFilterSchemaAssetsExpression @@ -3213,7 +3124,6 @@ $this $this - $this @@ -3498,11 +3408,6 @@ $default - - - $closure - - false @@ -3793,9 +3698,6 @@ - - $builder->createNamedParameter($value) - $builder->execute() @@ -3807,9 +3709,6 @@ $this->conn->fetchColumn('SELECT lastval()') - - $builder->createNamedParameter($value) - @@ -4034,8 +3933,7 @@ - - $builder->createNamedParameter($value) + $fun->md5($newPathFunction) $newPathFunction @@ -4091,9 +3989,6 @@ $filesData $data - - closeCursor - @@ -4108,7 +4003,7 @@ $builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT)) - $query->createFunction('GREATEST(' . $query->getColumnName('mtime') . ', ' . $query->createParameter('time') . ')') + $query->func()->greatest('mtime', $query->createParameter('time')) $sizeQuery->func()->add('size', $sizeQuery->createParameter('size')) @@ -4898,12 +4793,6 @@ true - - - $position - - - false @@ -5004,12 +4893,6 @@ - - $builder->createNamedParameter($gid) - $builder->createNamedParameter($gid) - $qb->createNamedParameter($uid) - $qb->createNamedParameter($gid) - $this->groupCache[$gid]['displayname'] @@ -5427,11 +5310,6 @@ $permsFunc - - - \OC_DB::executeAudited(self::updateByNameStmt(), [$mimetypeId, $this->folderMimeTypeId, $mimetypeId, '%.' . $extension]) - - \OC_APP @@ -5460,9 +5338,6 @@ - - $qb->createNamedParameter($value) - null @@ -5587,9 +5462,8 @@ - $query->createNamedParameter($parents, IQueryBuilder::PARAM_INT_ARRAY) - $query->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY) - $query->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) + $query->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY) + $query->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY) @@ -5613,27 +5487,7 @@ - - $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) @@ -5847,8 +5701,7 @@ string string - - \OC_User::getUser() + \OC_User::getUser() $appName $appName @@ -6211,11 +6064,6 @@ $column - - - $qb->createNamedParameter($value, $type) - - $this->data @@ -6247,14 +6095,6 @@ $this->resources - - - Closure - - - Closure - - $jobList