Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Allow Support PHP 8.0 (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yozhef authored Feb 24, 2021
1 parent 20deeac commit 72ecf27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 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 All @@ -35,10 +36,6 @@ jobs:
dependencies: lowest
allowed-to-fail: false
variant: normal
- php-version: '8.0'
dependencies: highest
allowed-to-fail: true
variant: normal
- php-version: '7.4'
dependencies: highest
allowed-to-fail: false
Expand All @@ -58,10 +55,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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"doctrine/doctrine-bundle": "^1.12 || ^2.0",
"doctrine/persistence": "^1.3 || ^2.0",
"laminas/laminas-diagnostics": "^1.6",
Expand Down

0 comments on commit 72ecf27

Please sign in to comment.