Skip to content

Commit 761d57b

Browse files
Laravel 11.x Compatibility (#143)
1 parent f0128ce commit 761d57b

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

.github/workflows/php.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,48 @@
11
name: PHP
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
run:
79
runs-on: ubuntu-latest
10+
811
strategy:
912
max-parallel: 15
1013
fail-fast: false
1114
matrix:
12-
laravel-version: ['^8.0', '^9.0', 10.*]
15+
laravel-version: ['10.*', '11.0', ^8.0, ^9.0]
1316
php-version: ['8.0', '8.1', '8.2']
17+
exclude:
18+
- laravel-version: 11.*
19+
php-version: '8.0'
20+
- laravel-version: 11.*
21+
php-version: '8.1'
22+
1423
name: PHP ${{ matrix.php-version }} on Laravel ${{ matrix.laravel-version }}
24+
1525
steps:
1626
- name: Checkout
1727
uses: actions/checkout@master
28+
1829
- name: Setup PHP
1930
uses: shivammathur/setup-php@master
2031
with:
2132
php-version: ${{ matrix.php-version }}
2233
extension-csv: mbstring, xdebug
2334
coverage: xdebug
35+
2436
- name: Install dependencies
2537
run: |
2638
composer require --no-update --no-interaction "illuminate/support:${{ matrix.laravel-version }}"
2739
composer update --no-interaction --prefer-dist --no-suggest
40+
2841
- name: Lint composer.json
2942
run: composer validate
43+
3044
- name: Run Tests
3145
run: composer test:unit
46+
3247
- name: Run Integration Tests
3348
run: composer test:integration

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
],
3131
"require": {
3232
"php": ">=7.2|^8.0",
33-
"twilio/sdk": "~6.0",
34-
"illuminate/notifications": "^7.0 || ^8.0 || ^9.0 || ^10.0",
35-
"illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0",
36-
"illuminate/events": "^7.0 || ^8.0 || ^9.0 || ^10.0",
37-
"illuminate/queue": "^7.0 || ^8.0 || ^9.0 || ^10.0"
33+
"twilio/sdk": "~6.0|^7.16",
34+
"illuminate/notifications": "^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0",
35+
"illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0",
36+
"illuminate/events": "^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0",
37+
"illuminate/queue": "^7.0 || ^8.0 || ^9.0 || ^10.0|^11.0"
3838
},
3939
"require-dev": {
4040
"mockery/mockery": "^1.3",
41-
"phpunit/phpunit": "^8.5|^9.5",
42-
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0"
41+
"phpunit/phpunit": "^8.5|^9.5|^10.5",
42+
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0|^9.0"
4343
},
4444
"autoload": {
4545
"psr-4": {

0 commit comments

Comments
 (0)