diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 4ab1fc1dd2d66..12bee2c122e86 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -123,86 +123,6 @@
VCalendar
- 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
@@ -312,7 +232,7 @@
- is_array($modified['old'])
+
@@ -323,8 +243,8 @@
- [$aclPlugin, 'propFind']
- [$aclPlugin, 'propFind']
+
+
DTEND]]>
@@ -359,12 +279,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'])
+
+
+
+
+
+
@@ -400,7 +320,7 @@
VCard
- $addressBooks[$row['id']][$readOnlyPropertyName] === 0
+
@@ -502,13 +422,12 @@
bool
- new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)
+
\OCA\Circles\Api\v1\Circles
- getById
getPath
@@ -768,7 +687,7 @@
- get_class($res) === 'OpenSSLAsymmetricKey'
+
@@ -783,7 +702,7 @@
- new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)
+
@@ -811,14 +730,8 @@
$shareId
$shareId
$shareId
- (int)$data['id']
+
-
- $nodes[0]
-
-
- \OCP\Files\File|\OCP\Files\Folder
-
@@ -841,7 +754,7 @@
string
- (int)$share['id']
+
@@ -1070,7 +983,7 @@
- $_['hideFileList'] !== true
+
@@ -1112,15 +1025,8 @@
-
- $trashFiles
-
-
- null
-
$file
- getById
@@ -1207,7 +1113,7 @@
getId()]]>
- (int)$data['id']
+
@@ -1229,14 +1135,6 @@
array{0: int, 1: int, 2: int}
-
-
- false
-
-
- users]]>
-
-
$ln + 1
@@ -1416,21 +1314,11 @@
isUserScopeEnabled
-
-
- $arguments
-
-
$arguments
-
-
- $arguments
-
-
$result === false
@@ -1714,7 +1602,7 @@
- $action['url-postfix']
+
@@ -1805,15 +1693,7 @@
-
- $row['provider_id'],
- 'uid' => $row['uid'],
- 'enabled' => 1 === (int) $row['enabled'],
- ];
- }, $rows)]]>
-
+
]]>
@@ -1938,7 +1818,7 @@
getParams
- $params['collation']
+
@@ -1949,8 +1829,8 @@
$params
- $params['adapter']
- $params['tablePrefix']
+
+
@@ -1983,7 +1863,7 @@
getParams
- $params['collation']
+
@@ -2012,10 +1892,7 @@
'width' => $format,
])]]>
-
- public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {
- public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {
-
+
l($type, $timestamp, [
'width' => $format,
@@ -2178,10 +2055,10 @@
$user
- get_class($provider) !== 'OCA\Files_Sharing\MountProvider'
+
- get_class($provider) === 'OCA\Files_Sharing\MountProvider'
+
@@ -2238,7 +2115,6 @@
root->get($this->getFullPath($path))]]>
- root->getByIdInPath((int)$id, $this->getPath())]]>
createNode($file->getPath(), $file);
}, $files)]]>
@@ -2346,7 +2222,7 @@
Promise\promise_for(
new Credentials($key, $secret)
)
- \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())
+
@@ -2594,8 +2470,8 @@
false
- $app['path']
- $app['path']
+
+
null
@@ -2917,7 +2793,7 @@
- $type === 'pdo'
+
$vendor
@@ -2934,20 +2810,11 @@
dbprettyname]]>
-
-
- !self::isResharingAllowed()
-
-
- getParents
- getParents
-
-
getId()]]>
getId()]]>
- (int)$data['id']
+
set
@@ -3004,12 +2871,6 @@
private $roomShareProvider = null;
private $shareByCircleProvider = null;
-
- getLazyRootFolder
- getLazyRootFolder
- getLazyRootFolder
- getLazyRootFolder
-
@@ -3145,8 +3006,8 @@
$groupsList
- $dir['path']
- $dir['url']
+
+
null