Skip to content

Commit

Permalink
Allow php 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yozhef committed Jan 26, 2021
1 parent 367ba44 commit 086e916
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
php-version:
- '7.3'
- '7.4'
- '8.0'
dependencies: [highest]
allowed-to-fail: [false]
variant: [normal]
Expand Down Expand Up @@ -62,10 +63,6 @@ jobs:
- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

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

- name: Install variant
if: matrix.variant != 'normal'
run: composer require ${{ matrix.variant }} --no-update
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"doctrine/doctrine-bundle": "^1.8 || ^2.0",
"doctrine/orm": "^2.5",
"doctrine/persistence": "^1.3.4 || ^2.0",
"sonata-project/admin-bundle": "^3.87",
"sonata-project/admin-bundle": "^3.88",
"sonata-project/exporter": "^1.11.0 || ^2.0",
"sonata-project/form-extensions": "^0.1 || ^1.4",
"symfony/config": "^4.4",
Expand Down

0 comments on commit 086e916

Please sign in to comment.