Skip to content

Commit 3e556b2

Browse files
committed
Laravel 10.x Support
1 parent 928cb24 commit 3e556b2

6 files changed

+13
-39
lines changed

.gitattributes

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@
88
/phpunit.xml.dist export-ignore
99
/tests export-ignore
1010
/.editorconfig export-ignore
11-
/.php.cs export-ignore
1211
/.github export-ignore
13-
12+
/.php-cs-fixer.dist.php export-ignore

.github/workflows/php-cs-fixer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212

1313
- name: Fix style
1414
uses: docker://oskarstark/php-cs-fixer-ga

.github/workflows/run-tests.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,24 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.2, 8.1, 8.0]
13-
laravel: [9.*, 8.*]
13+
laravel: [10.*, 9.*, 8.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
16+
- laravel: 10.*
17+
testbench: 8.*
1618
- laravel: 9.*
1719
testbench: 7.*
1820
- laravel: 8.*
1921
testbench: ^6.23
22+
exclude:
23+
- laravel: 10.*
24+
php: 8.0
2025

2126
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2227

2328
steps:
2429
- name: Checkout code
25-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
2631

2732
- name: Setup PHP
2833
uses: shivammathur/setup-php@v2

.github/workflows/update-changelog.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
with:
1515
ref: main
1616

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"illuminate/support": "^9.0|^8.0",
20+
"illuminate/support": "^8.0|^9.0|^10.0",
2121
"spatie/laravel-package-tools": "^1.9"
2222
},
2323
"require-dev": {
2424
"laravel/legacy-factories": "^1.0.4",
2525
"laravel/octane": "^1.0",
2626
"mockery/mockery": "^1.4",
27-
"orchestra/testbench": "^6.23|^7.0",
27+
"orchestra/testbench": "^6.23|^7.0|^8.0",
2828
"pestphp/pest": "^1.22",
2929
"phpunit/phpunit": "^9.4",
3030
"spatie/valuestore": "^1.2"
@@ -67,4 +67,4 @@
6767
},
6868
"minimum-stability": "dev",
6969
"prefer-stable": true
70-
}
70+
}

phpunit.xml.dist.bak

-30
This file was deleted.

0 commit comments

Comments
 (0)