Skip to content

Commit d602aa2

Browse files
fezfezPowerKiKi
authored andcommitted
Allow PHP 8
Closes #14
1 parent 290b0e4 commit d602aa2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
- '7.2'
1010
- '7.3'
1111
- '7.4'
12+
- '8.0'
1213

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

@@ -29,6 +30,12 @@ jobs:
2930
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
3031
restore-keys: ${{ runner.os }}-composer-
3132

33+
- name: Update dependencies
34+
if: matrix.php-version == '8.0'
35+
run: |
36+
rm composer.lock
37+
composer remove --dev --no-update friendsofphp/php-cs-fixer
38+
3239
- name: Install dependencies
3340
run: composer install
3441

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"require": {
27-
"php": "^7.2",
27+
"php": "^7.2 || ^8.0",
2828
"ext-json": "*",
2929
"psr/http-server-middleware": "^1.0",
3030
"webonyx/graphql-php": "^14.3"

0 commit comments

Comments
 (0)