diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index cfa50b6566ba4..6e867e3bd5cce 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -94,7 +94,7 @@ - 'OCA\DAV\Connector\Sabre::addPlugin' + dispatch @@ -155,11 +155,11 @@ $uris - atomic(function () use ($calendarId, $syncToken, $syncLevel, $limit, $calendarType) { + atomic(function () use ($calendarId, $syncToken, $syncLevel, $limit, $calendarType, $table) { // Current synctoken $qb = $this->db->getQueryBuilder(); $qb->select('synctoken') - ->from('calendars') + ->from($table) ->where( $qb->expr()->eq('id', $qb->createNamedParameter($calendarId)) ); @@ -326,7 +326,7 @@ - is_array($modified['old']) + @@ -337,8 +337,8 @@ - [$aclPlugin, 'propFind'] - [$aclPlugin, 'propFind'] + + get @@ -370,12 +370,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 +399,7 @@ false - $addressBooks[$row['id']][$readOnlyPropertyName] === 0 + @@ -452,7 +452,7 @@ 200 - $args['datetime'] + \Sabre\HTTP\toDate($value) @@ -516,13 +516,12 @@ 0 - 200 bool - new PreconditionFailed('Cannot filter by non-existing tag', 0, $e) + \OCA\Circles\Api\v1\Circles @@ -793,8 +792,8 @@ - 'OCA\DAV\Connector\Sabre::addPlugin' - 'OCA\DAV\Connector\Sabre::authInit' + + dispatch @@ -857,7 +856,7 @@ $userSession - get_class($res) === 'OpenSSLAsymmetricKey' + @@ -877,7 +876,7 @@ - new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0) + @@ -910,7 +909,7 @@ $shareId $shareId $shareId - (int)$data['id'] + @@ -939,7 +938,7 @@ string - (int)$share['id'] + @@ -1034,16 +1033,13 @@ - - empty($encryptedFiles) - isReadyForUser - self::class . '::' . $eventName + dispatch @@ -1124,7 +1120,7 @@ - 'OCA\\Files_External::loadAdditionalBackends' + dispatch @@ -1234,7 +1230,7 @@ - $_['hideFileList'] !== true + @@ -1282,7 +1278,7 @@ - 'OCA\Files_Trashbin::moveToTrash' + mountPoint]]> @@ -1437,7 +1433,7 @@ getId()]]> - (int)$data['id'] + @@ -1531,7 +1527,7 @@ - 'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded' + dispatch @@ -1903,7 +1899,7 @@ - 'OC\AccountManager::userUpdated' + dispatch @@ -2081,7 +2077,7 @@ - $action['url-postfix'] + @@ -2190,7 +2186,7 @@ - $provider['provider_id'] + @@ -2319,7 +2315,7 @@ getParams - $params['collation'] + @@ -2330,8 +2326,8 @@ $params - $params['adapter'] - $params['tablePrefix'] + + adapter->lastInsertId($seqName)]]> @@ -2377,7 +2373,7 @@ getParams - $params['collation'] + @@ -2388,7 +2384,6 @@ $alias - $groupBys $selects @@ -2572,10 +2567,10 @@ $user - get_class($provider) !== 'OCA\Files_Sharing\MountProvider' + - get_class($provider) === 'OCA\Files_Sharing\MountProvider' + @@ -2625,19 +2620,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 +2672,7 @@ - '\OCP\Files::' . $hook + FileInfo @@ -2732,7 +2727,7 @@ Promise\promise_for( new Credentials($key, $secret) ) - \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()) + @@ -2941,12 +2936,12 @@ - IGroup::class . '::postAddUser' - IGroup::class . '::postDelete' - IGroup::class . '::postRemoveUser' - IGroup::class . '::preAddUser' - IGroup::class . '::preDelete' - IGroup::class . '::preRemoveUser' + + + + + + bool @@ -3001,8 +2996,8 @@ false - $app['path'] - $app['path'] + + null @@ -3349,8 +3344,8 @@ - $content !== '' - $type === 'pdo' + + $vendor @@ -3380,7 +3375,7 @@ getId()]]> getId()]]> - (int)$data['id'] + set @@ -3392,12 +3387,12 @@ $id - 'OCP\Share::postAcceptShare' - 'OCP\Share::postShare' - 'OCP\Share::postUnshare' - 'OCP\Share::postUnshareFromSelf' - 'OCP\Share::preShare' - 'OCP\Share::preUnshare' + + + + + + dispatch @@ -3586,7 +3581,7 @@ boolean|null - IUser::class . '::firstLogin' + server]]> @@ -3598,11 +3593,11 @@ - IUser::class . '::changeUser' - IUser::class . '::postDelete' - IUser::class . '::postSetPassword' - IUser::class . '::preDelete' - IUser::class . '::preSetPassword' + + + + + dispatch @@ -3633,8 +3628,8 @@ ManagerEvent::EVENT_APP_UPDATE - $dir['path'] - $dir['url'] + + null