Skip to content

Commit c319d4e

Browse files
Add PHP 8.1 Support (#7)
* Added PHP 8.1 to CI test matrix * Bumped minimum dev dependencies * Removed CI installing specific framework/testbench dependencies
1 parent 8430784 commit c319d4e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: true
1212
matrix:
1313
os: [ubuntu-latest, windows-latest]
14-
php: [8.0, 7.4, 7.3]
14+
php: [8.1, 8.0, 7.4, 7.3]
1515
stability: [prefer-lowest, prefer-stable]
1616

1717
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -34,7 +34,6 @@ jobs:
3434
3535
- name: Install dependencies
3636
run: |
37-
composer require "laravel/framework:8.*" "orchestra/testbench:6.*" --no-interaction --no-update
3837
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
3938
4039
- name: Execute tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"illuminate/support": "~8.0"
1919
},
2020
"require-dev": {
21-
"orchestra/testbench": "^6.0",
22-
"phpunit/phpunit": "^9.0"
21+
"orchestra/testbench": "^6.22",
22+
"phpunit/phpunit": "^9.5.10"
2323
},
2424
"autoload": {
2525
"psr-4": {

0 commit comments

Comments
 (0)