diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index cfa50b6566ba4..9ae2233190af8 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -94,7 +94,7 @@
- 'OCA\DAV\Connector\Sabre::addPlugin'
+
dispatch
@@ -155,86 +155,6 @@
$uris
- atomic(function () use ($calendarId, $syncToken, $syncLevel, $limit, $calendarType) {
- // Current synctoken
- $qb = $this->db->getQueryBuilder();
- $qb->select('synctoken')
- ->from('calendars')
- ->where(
- $qb->expr()->eq('id', $qb->createNamedParameter($calendarId))
- );
- $stmt = $qb->executeQuery();
- $currentToken = $stmt->fetchOne();
-
- if ($currentToken === false) {
- return null;
- }
-
- $result = [
- 'syncToken' => $currentToken,
- 'added' => [],
- 'modified' => [],
- 'deleted' => [],
- ];
-
- if ($syncToken) {
- $qb = $this->db->getQueryBuilder();
-
- $qb->select('uri', 'operation')
- ->from('calendarchanges')
- ->where(
- $qb->expr()->andX(
- $qb->expr()->gte('synctoken', $qb->createNamedParameter($syncToken)),
- $qb->expr()->lt('synctoken', $qb->createNamedParameter($currentToken)),
- $qb->expr()->eq('calendarid', $qb->createNamedParameter($calendarId)),
- $qb->expr()->eq('calendartype', $qb->createNamedParameter($calendarType))
- )
- )->orderBy('synctoken');
- if (is_int($limit) && $limit > 0) {
- $qb->setMaxResults($limit);
- }
-
- // Fetching all changes
- $stmt = $qb->executeQuery();
- $changes = [];
-
- // This loop ensures that any duplicates are overwritten, only the
- // last change on a node is relevant.
- while ($row = $stmt->fetch()) {
- $changes[$row['uri']] = $row['operation'];
- }
- $stmt->closeCursor();
-
- foreach ($changes as $uri => $operation) {
- switch ($operation) {
- case 1:
- $result['added'][] = $uri;
- break;
- case 2:
- $result['modified'][] = $uri;
- break;
- case 3:
- $result['deleted'][] = $uri;
- break;
- }
- }
- } else {
- // No synctoken supplied, this is the initial sync.
- $qb = $this->db->getQueryBuilder();
- $qb->select('uri')
- ->from('calendarobjects')
- ->where(
- $qb->expr()->andX(
- $qb->expr()->eq('calendarid', $qb->createNamedParameter($calendarId)),
- $qb->expr()->eq('calendartype', $qb->createNamedParameter($calendarType))
- )
- );
- $stmt = $qb->executeQuery();
- $result['added'] = $stmt->fetchAll(\PDO::FETCH_COLUMN);
- $stmt->closeCursor();
- }
- return $result;
- }, $this->db)]]>
null
@@ -326,7 +246,7 @@
- is_array($modified['old'])
+
@@ -337,8 +257,8 @@
- [$aclPlugin, 'propFind']
- [$aclPlugin, 'propFind']
+
+
get
@@ -370,12 +290,12 @@
- !is_array($newProps['filters']['comps'])
- !is_array($newProps['filters']['params'])
- !is_array($newProps['filters']['props'])
- !isset($newProps['filters']['comps']) || !is_array($newProps['filters']['comps'])
- !isset($newProps['filters']['params']) || !is_array($newProps['filters']['params'])
- !isset($newProps['filters']['props']) || !is_array($newProps['filters']['props'])
+
+
+
+
+
+
@@ -399,7 +319,7 @@
false
- $addressBooks[$row['id']][$readOnlyPropertyName] === 0
+
@@ -452,7 +372,7 @@
200
- $args['datetime']
+
\Sabre\HTTP\toDate($value)
@@ -516,13 +436,12 @@
0
- 200
bool
- new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)
+
\OCA\Circles\Api\v1\Circles
@@ -793,8 +712,8 @@
- 'OCA\DAV\Connector\Sabre::addPlugin'
- 'OCA\DAV\Connector\Sabre::authInit'
+
+
dispatch
@@ -857,7 +776,7 @@
$userSession
- get_class($res) === 'OpenSSLAsymmetricKey'
+
@@ -877,7 +796,7 @@
- new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)
+
@@ -910,7 +829,7 @@
$shareId
$shareId
$shareId
- (int)$data['id']
+
@@ -939,7 +858,7 @@
string
- (int)$share['id']
+
@@ -1034,16 +953,13 @@
-
- empty($encryptedFiles)
-
isReadyForUser
- self::class . '::' . $eventName
+
dispatch
@@ -1124,7 +1040,7 @@
- 'OCA\\Files_External::loadAdditionalBackends'
+
dispatch
@@ -1234,7 +1150,7 @@
- $_['hideFileList'] !== true
+
@@ -1282,7 +1198,7 @@
- 'OCA\Files_Trashbin::moveToTrash'
+
mountPoint]]>
@@ -1437,7 +1353,7 @@
getId()]]>
- (int)$data['id']
+
@@ -1531,7 +1447,7 @@
- 'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'
+
dispatch
@@ -1903,7 +1819,7 @@
- 'OC\AccountManager::userUpdated'
+
dispatch
@@ -2081,7 +1997,7 @@
- $action['url-postfix']
+
@@ -2190,7 +2106,7 @@
- $provider['provider_id']
+
@@ -2319,7 +2235,7 @@
getParams
- $params['collation']
+
@@ -2330,8 +2246,8 @@
$params
- $params['adapter']
- $params['tablePrefix']
+
+
adapter->lastInsertId($seqName)]]>
@@ -2377,7 +2293,7 @@
getParams
- $params['collation']
+
@@ -2388,7 +2304,6 @@
$alias
- $groupBys
$selects
@@ -2572,10 +2487,10 @@
$user
- get_class($provider) !== 'OCA\Files_Sharing\MountProvider'
+
- get_class($provider) === 'OCA\Files_Sharing\MountProvider'
+
@@ -2625,19 +2540,19 @@
- '\OCP\Files::postCopy'
- '\OCP\Files::postCreate'
- '\OCP\Files::postDelete'
- '\OCP\Files::postRename'
- '\OCP\Files::postTouch'
- '\OCP\Files::postWrite'
- '\OCP\Files::preCopy'
- '\OCP\Files::preCreate'
- '\OCP\Files::preDelete'
- '\OCP\Files::preRename'
- '\OCP\Files::preTouch'
- '\OCP\Files::preWrite'
- '\OCP\Files::read'
+
+
+
+
+
+
+
+
+
+
+
+
+
dispatch
@@ -2677,7 +2592,7 @@
- '\OCP\Files::' . $hook
+
FileInfo
@@ -2732,7 +2647,7 @@
Promise\promise_for(
new Credentials($key, $secret)
)
- \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())
+
@@ -2941,12 +2856,12 @@
- IGroup::class . '::postAddUser'
- IGroup::class . '::postDelete'
- IGroup::class . '::postRemoveUser'
- IGroup::class . '::preAddUser'
- IGroup::class . '::preDelete'
- IGroup::class . '::preRemoveUser'
+
+
+
+
+
+
bool
@@ -3001,8 +2916,8 @@
false
- $app['path']
- $app['path']
+
+
null
@@ -3349,8 +3264,8 @@
- $content !== ''
- $type === 'pdo'
+
+
$vendor
@@ -3380,7 +3295,7 @@
getId()]]>
getId()]]>
- (int)$data['id']
+
set
@@ -3392,12 +3307,12 @@
$id
- 'OCP\Share::postAcceptShare'
- 'OCP\Share::postShare'
- 'OCP\Share::postUnshare'
- 'OCP\Share::postUnshareFromSelf'
- 'OCP\Share::preShare'
- 'OCP\Share::preUnshare'
+
+
+
+
+
+
dispatch
@@ -3586,7 +3501,7 @@
boolean|null
- IUser::class . '::firstLogin'
+
server]]>
@@ -3598,11 +3513,11 @@
- IUser::class . '::changeUser'
- IUser::class . '::postDelete'
- IUser::class . '::postSetPassword'
- IUser::class . '::preDelete'
- IUser::class . '::preSetPassword'
+
+
+
+
+
dispatch
@@ -3633,8 +3548,8 @@
ManagerEvent::EVENT_APP_UPDATE
- $dir['path']
- $dir['url']
+
+
null