diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-05-27 14:57:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 14:57:38 +0300 |
commit | 6810fd02523bfe95552b8d7506ed3d4781f917d4 (patch) | |
tree | 9aed38cadae9190b49b1e42553c972e14e7dcc95 /tests | |
parent | 0be3e593f95893f54120063692ea2ac84e5049e1 (diff) | |
parent | 93a9a4baefce23da225e6106baef1445657ee25e (diff) |
Merge pull request #4947 from nextcloud/fix/chunking-in-statements-for-oracle
Chunking `in` statements for Oracle Compliance
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> |