diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 279dad77..bebf163f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: env: COMPOSER_ROOT_VERSION: 1.0.0 - EXTENSIONS: pdo, pdo_sqlsrv-5.10.1 + EXTENSIONS: pdo, pdo_sqlsrv-5.11.1 runs-on: ${{ matrix.os }} @@ -40,6 +40,7 @@ jobs: - 8.0 - 8.1 - 8.2 + - 8.3 mssql: - server:2017-latest diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 669a9c63..5922b490 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -25,7 +25,7 @@ jobs: env: COMPOSER_ROOT_VERSION: 1.0.0 - EXTENSIONS: pdo, pdo_sqlsrv-5.10.1 + EXTENSIONS: pdo, pdo_sqlsrv-5.11.1 runs-on: ${{ matrix.os }} @@ -84,6 +84,6 @@ jobs: - name: Run infection. run: | - vendor/bin/roave-infection-static-analysis-plugin -j2 --ignore-msi-with-no-mutations --only-covered + vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ignore-msi-with-no-mutations --only-covered env: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} diff --git a/src/Driver.php b/src/Driver.php index 45f22018..ed12c2c4 100644 --- a/src/Driver.php +++ b/src/Driver.php @@ -17,6 +17,8 @@ final class Driver extends AbstractPdoDriver public function createConnection(): PDO { $this->attributes += [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]; + $this->attributes += [PDO::ATTR_STRINGIFY_FETCHES => false]; + return parent::createConnection(); }