Skip to content

Commit f29467a

Browse files
committed
Merge branch '3.6.x' into 3.7.x
* 3.6.x: Run tests against Postgres 16 (doctrine#6154) PHPStan 1.10.34, PHPUnit 9.6.12 (doctrine#6151) Bump CI workflows (doctrine#6152) Fix invalid SQL in the document docs: link to the testing guidelines in CONTRIBUTING.md Document `driverOptions` for SQL Server connections (doctrine#6140)
2 parents 2dd7eb8 + d39bc5d commit f29467a

8 files changed

+26
-22
lines changed

.github/workflows/coding-standards.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ on:
2525
jobs:
2626
coding-standards:
2727
name: "Coding Standards"
28-
uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.0.0"
28+
uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.1.0"

.github/workflows/continuous-integration.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
steps:
6464
- name: "Checkout"
65-
uses: "actions/checkout@v3"
65+
uses: "actions/checkout@v4"
6666
with:
6767
fetch-depth: 2
6868

@@ -130,7 +130,7 @@ jobs:
130130
131131
steps:
132132
- name: "Checkout"
133-
uses: "actions/checkout@v3"
133+
uses: "actions/checkout@v4"
134134
with:
135135
fetch-depth: 2
136136

@@ -188,7 +188,7 @@ jobs:
188188
189189
steps:
190190
- name: "Checkout"
191-
uses: "actions/checkout@v3"
191+
uses: "actions/checkout@v4"
192192
with:
193193
fetch-depth: 2
194194

@@ -226,21 +226,22 @@ jobs:
226226
postgres-version:
227227
- "9.4"
228228
- "15"
229+
- "16"
229230
extension:
230231
- "pgsql"
231232
- "pdo_pgsql"
232233
include:
233234
- php-version: "8.2"
234-
postgres-version: "15"
235+
postgres-version: "16"
235236
extension: "pgsql"
236237
- php-version: "8.3"
237-
postgres-version: "15"
238+
postgres-version: "16"
238239
extension: "pgsql"
239240
- php-version: "8.2"
240-
postgres-version: "15"
241+
postgres-version: "16"
241242
extension: "pdo_pgsql"
242243
- php-version: "8.3"
243-
postgres-version: "15"
244+
postgres-version: "16"
244245
extension: "pdo_pgsql"
245246

246247
services:
@@ -257,7 +258,7 @@ jobs:
257258

258259
steps:
259260
- name: "Checkout"
260-
uses: "actions/checkout@v3"
261+
uses: "actions/checkout@v4"
261262
with:
262263
fetch-depth: 2
263264

@@ -339,7 +340,7 @@ jobs:
339340

340341
steps:
341342
- name: "Checkout"
342-
uses: "actions/checkout@v3"
343+
uses: "actions/checkout@v4"
343344
with:
344345
fetch-depth: 2
345346

@@ -426,7 +427,7 @@ jobs:
426427

427428
steps:
428429
- name: "Checkout"
429-
uses: "actions/checkout@v3"
430+
uses: "actions/checkout@v4"
430431
with:
431432
fetch-depth: 2
432433

@@ -496,7 +497,7 @@ jobs:
496497

497498
steps:
498499
- name: "Checkout"
499-
uses: "actions/checkout@v3"
500+
uses: "actions/checkout@v4"
500501
with:
501502
fetch-depth: 2
502503

@@ -556,7 +557,7 @@ jobs:
556557
run: "docker exec ${{ job.services.ibm_db2.id }} su - db2inst1 -c 'db2 -t CONNECT TO doctrine; db2 -t CREATE USER TEMPORARY TABLESPACE doctrine_tbsp PAGESIZE 4 K;'"
557558

558559
- name: "Checkout"
559-
uses: "actions/checkout@v3"
560+
uses: "actions/checkout@v4"
560561
with:
561562
fetch-depth: 2
562563

@@ -600,7 +601,7 @@ jobs:
600601

601602
steps:
602603
- name: "Checkout"
603-
uses: "actions/checkout@v3"
604+
uses: "actions/checkout@v4"
604605

605606
- name: "Install PHP"
606607
uses: "shivammathur/setup-php@v2"
@@ -633,7 +634,7 @@ jobs:
633634

634635
steps:
635636
- name: "Checkout"
636-
uses: "actions/checkout@v3"
637+
uses: "actions/checkout@v4"
637638
with:
638639
fetch-depth: 2
639640

.github/workflows/release-on-milestone-closed.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: "Checkout"
15-
uses: "actions/checkout@v3"
15+
uses: "actions/checkout@v4"
1616

1717
- name: "Release"
1818
uses: "laminas/[email protected]"

.github/workflows/static-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: "Checkout code"
41-
uses: "actions/checkout@v3"
41+
uses: "actions/checkout@v4"
4242

4343
- name: "Install PHP"
4444
uses: "shivammathur/setup-php@v2"
@@ -64,7 +64,7 @@ jobs:
6464

6565
steps:
6666
- name: Checkout code
67-
uses: actions/checkout@v3
67+
uses: actions/checkout@v4
6868

6969
- name: Install PHP
7070
uses: shivammathur/setup-php@v2

CONTRIBUTING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
This repository has [guidelines specific to testing][testing guidelines], and
12
Doctrine has [general contributing guidelines][contributor workflow], make
2-
sure you follow them.
3+
sure you follow both.
34

45
[contributor workflow]: https://www.doctrine-project.org/contribute/index.html
6+
[testing guidelines]: https://www.doctrine-project.org/projects/doctrine-dbal/en/stable/reference/testing.html

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
"doctrine/coding-standard": "12.0.0",
4444
"fig/log-test": "^1",
4545
"jetbrains/phpstorm-stubs": "2023.1",
46-
"phpstan/phpstan": "1.10.32",
46+
"phpstan/phpstan": "1.10.34",
4747
"phpstan/phpstan-strict-rules": "^1.5",
48-
"phpunit/phpunit": "9.6.11",
48+
"phpunit/phpunit": "9.6.12",
4949
"psalm/plugin-phpunit": "0.18.4",
5050
"slevomat/coding-standard": "8.13.1",
5151
"squizlabs/php_codesniffer": "3.7.2",

docs/en/reference/configuration.rst

+1
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ pdo_sqlsrv / sqlsrv
330330
- ``host`` (string): Hostname of the database to connect to.
331331
- ``port`` (integer): Port of the database to connect to.
332332
- ``dbname`` (string): Name of the database/schema to connect to.
333+
- ``driverOptions`` (array): Any supported options found on `https://learn.microsoft.com/en-us/sql/connect/php/connection-options`
333334

334335
ibm_db2
335336
^^^^^^^

docs/en/reference/data-retrieval-and-manipulation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,4 +540,4 @@ given data.
540540
541541
<?php
542542
$conn->update('user', ['username' => 'jwage'], ['id' => 1]);
543-
// UPDATE user (username) VALUES (?) WHERE id = ? (jwage, 1)
543+
// UPDATE user SET username = ? WHERE id = ? (jwage, 1)

0 commit comments

Comments
 (0)