Skip to content

Commit b5545de

Browse files
chore: run the project on PHP 8.5
1 parent 70a6675 commit b5545de

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
php: ['8.1', '8.2', '8.3', '8.4']
46+
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
4747
postgis: ['3.4', '3.5', '3.6']
4848
postgres: ['16', '17', '18']
4949
exclude:
@@ -88,6 +88,7 @@ jobs:
8888
coverage: ${{ matrix.calculate-code-coverage == true && 'xdebug' || 'none' }}
8989
extensions: ctype, json, mbstring, pdo_pgsql
9090
tools: composer
91+
update: ${{ matrix.php == '8.5' }}
9192

9293
- name: Validate composer.json and composer.lock
9394
run: composer validate --strict

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
php: ['8.1', '8.2', '8.3', '8.4']
46+
php: ['8.1', '8.2', '8.3', '8.4', '8.5']
4747
doctrine-lexer: ['2.1', '3.0', 'latest']
4848
doctrine-orm: ['2.14', '2.18', '3.0', 'latest']
4949
include:
@@ -70,6 +70,7 @@ jobs:
7070
coverage: ${{ matrix.calculate-code-coverage == true && 'xdebug' || 'none' }}
7171
extensions: ctype, json, mbstring
7272
tools: composer
73+
update: ${{ matrix.php == '8.5' }}
7374

7475
- name: Cache Composer packages
7576
id: composer-cache

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838

3939
"require": {
40-
"php": "^8.1",
40+
"php": "^8.1 <8.6",
4141
"ext-ctype": "*",
4242
"ext-json": "*",
4343
"ext-mbstring": "*",
@@ -57,7 +57,7 @@
5757
"symfony/cache": "^6.4||^7.0"
5858
},
5959
"suggest": {
60-
"php": "^8.3",
60+
"php": "^8.4",
6161
"doctrine/orm": "~2.14||~3.0"
6262
},
6363

0 commit comments

Comments
 (0)