Skip to content

Commit 0e2d5fd

Browse files
Require PHP 8.1 for Laravel 10 compatibility
1 parent 74abba2 commit 0e2d5fd

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@ jobs:
1010
fail-fast: true
1111
matrix:
1212
os: [ubuntu-latest]
13-
php: [8.0, 8.1]
14-
laravel: [8.*, 9.*, 10.*]
13+
php: [8.1]
14+
laravel: [10.*]
1515
stability: [prefer-lowest, prefer-stable]
1616
include:
1717
- laravel: 10.*
1818
testbench: 8.*
19-
- laravel: 9.*
20-
testbench: 7.*
21-
- laravel: 8.*
22-
testbench: ^6.23
2319

2420
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2521

@@ -37,4 +33,4 @@ jobs:
3733
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
3834
3935
- name: Run PHPUnit
40-
run: vendor/bin/phpunit --verbose
36+
run: vendor/bin/phpunit --verbose

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^8.0",
16-
"abraham/twitteroauth": "^4.0.0|^5.0",
17-
"illuminate/notifications": "^8.0|^9.0|^10.0",
18-
"illuminate/support": "^8.0|^9.0|^10.0",
19-
"kylewm/brevity": "^0.2.9|^0.2"
15+
"php": "^8.1",
16+
"abraham/twitteroauth": "^5.0",
17+
"illuminate/notifications": "^10.0",
18+
"illuminate/support": "^10.0",
19+
"kylewm/brevity": "^^0.2"
2020
},
2121
"require-dev": {
2222
"mockery/mockery": "^1.3.1",
2323
"phpunit/phpunit": "^9.3",
24-
"orchestra/testbench": "^7.0|^8.0"
24+
"orchestra/testbench": "^8.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

0 commit comments

Comments
 (0)