Skip to content

Commit d9fb9bf

Browse files
committed
issue #16 add PHP 8.0 compatibility
1 parent 49cea43 commit d9fb9bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
php: ['7.2', '7.3', '7.4']
17+
php: ['7.2', '7.3', '7.4', '8.0']
1818

1919
name: PHP ${{ matrix.php }} Test on ${{ matrix.os }}
2020
steps:
@@ -44,7 +44,7 @@ jobs:
4444
${{ runner.os }}-composer-
4545
4646
- name: Install dependencies
47-
run: composer install --prefer-dist --no-progress
47+
run: composer update --prefer-dist --no-progress
4848

4949
- name: Tests
5050
run: composer phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "^7.2",
18+
"php": "^7.2 | ^8.0",
1919
"ext-mbstring": "*",
2020
"nikic/php-parser": "^4.2.3",
2121
"phpstan/phpstan": "^0.12.0"

0 commit comments

Comments
 (0)