Skip to content

Commit eb5db45

Browse files
authored
Merge pull request #731 from XWB/php8
Add PHP 8 support
2 parents 4b42b44 + b96152a commit eb5db45

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,15 @@ jobs:
3333
strategy:
3434
matrix:
3535
include:
36-
- php: '7.2'
36+
- php: '7.4'
3737
dependencies: 'lowest'
3838
symfony_require: '3.4.*'
3939
- php: '7.4'
4040
dependencies: 'highest'
4141
symfony_require: '4.4.*'
42+
- php: '8.0'
43+
dependencies: 'highest'
44+
symfony_require: '4.4.*'
4245
fail-fast: false
4346
steps:
4447
- name: Checkout

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"issues": "https://github.com/FriendsOfSymfony/FOSCommentBundle/issues"
2424
},
2525
"require": {
26-
"php": "^7.2",
26+
"php": "^7.4 || ^8.0",
2727
"friendsofsymfony/rest-bundle": "~2.8",
2828
"jms/serializer-bundle": "~2.0|~3.0",
2929
"symfony/framework-bundle": "~3.4|^4.3",

0 commit comments

Comments
 (0)