Skip to content

Commit

Permalink
Allow tests to run on PHP8.4
Browse files Browse the repository at this point in the history
This then also prepares the package to be released for PHP8.4
runtimes
  • Loading branch information
heiglandreas committed Oct 18, 2024
1 parent 5d255b5 commit f16121a
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 8 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,18 @@ jobs:
- php-version: '8.3'
symfony-version: '6.4.*'

# Test against Symfony 6.4 on PHP8.4
- php-version: '8.4'
symfony-version: '6.4.*'

# Test against Symfony 7
- php-version: '8.3'
symfony-version: '7.*'

# Test against Symfony 7 on PHP8.4
- php-version: '8.4'
symfony-version: '7.*'

steps:
- name: 'Checkout code'
uses: actions/checkout@v4
Expand Down Expand Up @@ -93,6 +102,14 @@ jobs:
# Test against Symfony 7.*
- php-version: '8.3'
symfony-version: '7.*'

# Minimum PHP version
- php-version: '8.4'
symfony-version: '6.4.*'

# Test against Symfony 7.*
- php-version: '8.4'
symfony-version: '7.*'
steps:
- name: 'Checkout code'
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "project",
"license": "MIT",
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"ext-json": "*",
"doctrine/doctrine-bundle": "^2.0.3",
"doctrine/orm": "^2.9 || ^3.0",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"ext-json": "*",
"lcobucci/clock": "^3.0",
"lcobucci/jwt": "^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/backup-code/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"scheb/2fa-bundle": "self.version"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"ext-json": "*",
"symfony/config": "^6.4 || ^7.0",
"symfony/dependency-injection": "^6.4 || ^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/email/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"scheb/2fa-bundle": "self.version"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/google-authenticator/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"scheb/2fa-bundle": "self.version",
"spomky-labs/otphp": "^11.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/totp/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"scheb/2fa-bundle": "self.version",
"spomky-labs/otphp": "^11.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/trusted-device/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"scheb/2fa-bundle": "self.version",
"lcobucci/clock": "^3.0",
"lcobucci/jwt": "^5.0"
Expand Down

0 comments on commit f16121a

Please sign in to comment.