Files
archived-dbal/ci/github/phpunit/pdo_sqlite-stringify_fetches.xml
Jonas Elfering d5533f9cc0 feat: add more pdo jobs with stringify fetches (#7052)
<!-- Fill in the relevant information below to help triage your pull
request. -->

|      Q       |   A
|------------- | -----------
| Type         | improvement

#### Summary

Add more unit test jobs that use the PDO::STRINGIFY_FETCHES option, as
discussed in this PR:
https://github.com/doctrine/dbal/pull/7028#pullrequestreview-3042233545

I didn't add a job for `pdo_oci` and `pdo_sqlsrv` as for those drivers
the result in `QueryBuilderTest` was already stringified, therefore I
assume those drivers always stringify the fetches, therefore a separate
job is not needed
2025-07-24 18:41:40 +02:00

34 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true"
failOnNotice="true"
failOnPhpunitDeprecation="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
>
<php>
<ini name="error_reporting" value="-1" />
<var name="db_driver" value="pdo_sqlite"/>
<!-- see \PDO::ATTR_STRINGIFY_FETCHES-->
<var name="db_driver_option_17" value="true"/>
<var name="db_memory" value="true"/>
</php>
<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../../../tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>../../../src</directory>
</include>
</source>
</phpunit>