nextcloud/tests/lib/AppFramework
Thomas Citharel 1c0342af58 Fix reading blob data as resource
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 16:03:19 +00:00
..
Bootstrap Fix warnings about logException 2021-06-04 10:57:09 +02:00
Controller Allow overwriting isAuthenticated 2021-03-09 09:17:30 +01:00
Db Fix reading blob data as resource 2022-07-25 16:03:19 +00:00
DependencyInjection Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Http Fix psalm not running 2022-01-27 17:20:00 +01:00
Middleware Fix psalm not running 2022-01-27 17:20:00 +01:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Routing Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Utility Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AppTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00