diff options
author | Anna Larch <anna@nextcloud.com> | 2021-04-13 14:31:43 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-05-20 18:02:52 +0300 |
commit | 93a9a4baefce23da225e6106baef1445657ee25e (patch) | |
tree | 716a41c0ab963ef6d1ec279246ddb4aabcfaaabc /tests | |
parent | 39853c80d1c1614b922800f56338b73ef0859218 (diff) |
chunking in statements
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/psalm-baseline.xml | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index 7f7a470e1..39bf79298 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -80,30 +80,29 @@ </file> <file src="lib/Db/AliasMapper.php"> <ImplicitToStringCast occurrences="1"> - <code>$qb2->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> + <code>$qb2->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> </ImplicitToStringCast> </file> <file src="lib/Db/CollectedAddressMapper.php"> <ImplicitToStringCast occurrences="1"> - <code>$qb2->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> + <code>$qb2->createParameter('ids')</code> </ImplicitToStringCast> </file> <file src="lib/Db/MailboxMapper.php"> <ImplicitToStringCast occurrences="1"> - <code>$qb2->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> + <code>$qb2->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> </ImplicitToStringCast> </file> <file src="lib/Db/MessageMapper.php"> <ImplicitToStringCast occurrences="26"> - <code>$deleteRecipientsQuery->createFunction($messageIdQuery->getSQL())</code> - <code>$deleteRecipientsQuery->createNamedParameter($uids, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$messageIdQuery->createFunction($messageIdQuery->getSQL())</code> + <code>$deleteMessagesQuery->createParameter('messageIds')</code> + <code>$deleteRecipientsQuery->createParameter('ids')</code> + <code>$deleteRecipientsQuery->createParameter('messageIds')</code> + <code>$messageIdQuery->createParameter('uids')</code> <code>$messagesQuery->createFunction($mailboxesQuery->getSQL())</code> <code>$qb->createFunction($mailboxIdsQuery->getSQL())</code> <code>$qb->createFunction($mailboxIdsQuery->getSQL())</code> <code>$qb->createFunction($selectMailboxIds->getSQL())</code> - <code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$qb->createNamedParameter($mailboxIds, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$qb->createNamedParameter($query->getBcc(), IQueryBuilder::PARAM_STR_ARRAY)</code> <code>$qb->createNamedParameter($query->getBcc(), IQueryBuilder::PARAM_STR_ARRAY)</code> @@ -114,12 +113,14 @@ <code>$qb->createNamedParameter($query->getTo(), IQueryBuilder::PARAM_STR_ARRAY)</code> <code>$qb->createNamedParameter($query->getTo(), IQueryBuilder::PARAM_STR_ARRAY)</code> <code>$qb->createNamedParameter($uids, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$qb->createNamedParameter($uids, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$qb->createNamedParameter($uids, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$qb2->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> + <code>$qb->createParameter('ids')</code> + <code>$qb->createParameter('ids')</code> + <code>$qb->createParameter('uids')</code> + <code>$qb->createParameter('uids')</code> + <code>$qb2->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$qb2->createNamedParameter(array_keys($indexedMessages), IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$qb4->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$query->createNamedParameter($uids, IQueryBuilder::PARAM_INT_ARRAY)</code> + <code>$qb4->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> + <code>$query->createParameter('ids')</code> </ImplicitToStringCast> </file> <file src="lib/Db/StatisticsDao.php"> @@ -137,7 +138,7 @@ <ImplicitToStringCast occurrences="3"> <code>$deleteQB->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$deleteQB->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> - <code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_STR_ARRAY)</code> + <code>$qb->createParameter('ids')</code> </ImplicitToStringCast> <InvalidArgument occurrences="1"/> </file> @@ -268,11 +269,6 @@ <code>$this->contactsManager->getUserAddressBooks()</code> </UndefinedDocblockClass> </file> - <file src="lib/Service/Html.php"> - <UndefinedClass occurrences="1"> - <code>UrlLinker</code> - </UndefinedClass> - </file> <file src="lib/Service/HtmlPurify/TransformURLScheme.php"> <NullArgument occurrences="3"> <code>null</code> |