Skip to content

Commit 7111b7d

Browse files
committed
PHP 8 support
1 parent 663bce7 commit 7111b7d

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/main.yml

Lines changed: 5 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,10 @@ jobs:
2930
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
3031
restore-keys: ${{ runner.os }}-composer-
3132

33+
- name: Remove lock for PHP 8
34+
if: matrix.php-version == '8.0'
35+
run: rm composer.lock
36+
3237
- name: Install dependencies
3338
run: composer install
3439

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"require": {
32-
"php": "^7.2",
32+
"php": "^7.2 || ^8.0",
3333
"doctrine/persistence": "^1.3 || ^2.0",
3434
"doctrine/orm": "^2.7",
3535
"psr/container": "^1.0",

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)