Skip to content

Commit

Permalink
TASK: Allow installation with php ^8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paxuclus authored and tweis committed Nov 15, 2021
1 parent 0cdc358 commit 3d58502
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/functionaltests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ 7.2, 7.3, 7.4 ]
php-version: [ 7.2, 7.3, 7.4, 8.0 ]
flow-version: [ 5.3, 6.3, 7.0 ]
exclude:
# Disable Flow 5.3 and 6.3 on PHP 8.0, as only ^7.2 is supported
- php-version: 8.0
flow-version: 5.3
- php-version: 8.0
flow-version: 6.3

# Disable Flow 7.0 on PHP 7.2, as 7.3 is required
- php-version: 7.2
flow-version: 7.0
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ 7.2, 7.3, 7.4 ]
php-version: [ 7.2, 7.3, 7.4, 8.0 ]
flow-version: [ 5.3, 6.3, 7.0 ]
exclude:
# Disable Flow 7.0 on PHP 7.2, as 7.3 is required
# Disable Flow 5.3 and 6.3 on PHP 8.0, as only ^7.2 is supported
- php-version: 8.0
flow-version: 5.3
- php-version: 8.0
flow-version: 6.3

# Disable Flow 7.0 on PHP 7.2, as 7.3 is required
- php-version: 7.2
flow-version: 7.0

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "neos-package",
"license": "MIT",
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"neos/flow": "^5.3 || ^6.3 || ^7.0",
"sentry/sdk": "^3.1"
},
Expand Down

0 comments on commit 3d58502

Please sign in to comment.