Skip to content

Commit

Permalink
PHP 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Jan 13, 2021
1 parent 663bce7 commit 7111b7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
- '7.2'
- '7.3'
- '7.4'
- '8.0'

name: PHP ${{ matrix.php-version }}

Expand All @@ -29,6 +30,10 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Remove lock for PHP 8
if: matrix.php-version == '8.0'
run: rm composer.lock

- name: Install dependencies
run: composer install

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
},
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"doctrine/persistence": "^1.3 || ^2.0",
"doctrine/orm": "^2.7",
"psr/container": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7111b7d

Please sign in to comment.