Skip to content

Commit

Permalink
Merge pull request #148 from core23/php8
Browse files Browse the repository at this point in the history
Add support for PHP 8
  • Loading branch information
core23 authored Dec 27, 2020
2 parents bdaf830 + 3da8c4d commit 2bdcb48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
php-version:
- 7.3
- 7.4
- 8.0

dependencies:
- lowest
Expand All @@ -132,6 +133,10 @@ jobs:
extensions: "mbstring, json, mongo"
php-version: ${{ matrix.php-version }}

- name: "Configuration required for PHP 8.0"
if: matrix.php-version == '8.0'
run: composer config platform.php 7.4.99

- name: 'Install Symfony Flex'
run: composer global require --prefer-dist --no-progress --no-suggest --ansi symfony/flex

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"ext-json": "*",
"ext-mbstring": "*",
"doctrine/collections": "^1.6",
Expand Down Expand Up @@ -47,7 +47,7 @@
"symfony/twig-bridge": "^4.4 || ^5.0",
"symfony/twig-bundle": "^4.4 || ^5.0",
"symfony/validator": "^4.4 || ^5.0",
"twig/twig": "^2.4 || ^3.0"
"twig/twig": "^2.14 || ^3.1"
},
"conflict": {
"doctrine/doctrine-bundle": "<1.12",
Expand Down

0 comments on commit 2bdcb48

Please sign in to comment.