Skip to content

Commit 0a5575e

Browse files
heiglandreasscheb
authored andcommitted
Allow tests to run on PHP8.4
This then also prepares the package to be released for PHP8.4 runtimes
1 parent 5d255b5 commit 0a5575e

9 files changed

Lines changed: 25 additions & 8 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,18 @@ jobs:
5757
- php-version: '8.3'
5858
symfony-version: '6.4.*'
5959

60+
# Test against Symfony 6.4 on PHP8.4
61+
- php-version: '8.4'
62+
symfony-version: '6.4.*'
63+
6064
# Test against Symfony 7
6165
- php-version: '8.3'
6266
symfony-version: '7.*'
67+
68+
# Test against Symfony 7 on PHP8.4
69+
- php-version: '8.4'
70+
symfony-version: '7.*'
71+
6372
steps:
6473
- name: 'Checkout code'
6574
uses: actions/checkout@v4
@@ -93,6 +102,14 @@ jobs:
93102
# Test against Symfony 7.*
94103
- php-version: '8.3'
95104
symfony-version: '7.*'
105+
106+
# Minimum PHP version
107+
- php-version: '8.4'
108+
symfony-version: '6.4.*'
109+
110+
# Test against Symfony 7.*
111+
- php-version: '8.4'
112+
symfony-version: '7.*'
96113
steps:
97114
- name: 'Checkout code'
98115
uses: actions/checkout@v4

app/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "project",
33
"license": "MIT",
44
"require": {
5-
"php": "~8.2.0 || ~8.3.0",
5+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
66
"ext-json": "*",
77
"doctrine/doctrine-bundle": "^2.0.3",
88
"doctrine/orm": "^2.9 || ^3.0",

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"ext-json": "*",
1717
"lcobucci/clock": "^3.0",
1818
"lcobucci/jwt": "^5.0",

src/backup-code/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"scheb/2fa-bundle": "self.version"
1717
},
1818
"autoload": {

src/bundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"ext-json": "*",
1717
"symfony/config": "^6.4 || ^7.0",
1818
"symfony/dependency-injection": "^6.4 || ^7.0",

src/email/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"scheb/2fa-bundle": "self.version"
1717
},
1818
"autoload": {

src/google-authenticator/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"scheb/2fa-bundle": "self.version",
1717
"spomky-labs/otphp": "^11.0"
1818
},

src/totp/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"scheb/2fa-bundle": "self.version",
1717
"spomky-labs/otphp": "^11.0"
1818
},

src/trusted-device/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~8.2.0 || ~8.3.0",
15+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1616
"scheb/2fa-bundle": "self.version",
1717
"lcobucci/clock": "^3.0",
1818
"lcobucci/jwt": "^5.0"

0 commit comments

Comments
 (0)