Skip to content

Commit f9e78bc

Browse files
authored
[1.x] Adds Laravel 10.x support (#207)
* Adds Laravel 10 support * Displays deprecations * Don't use Laravel 10 on older PHP versions * Don't use Laravel 10 on older PHP versions
1 parent 5a28bc8 commit f9e78bc

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

.github/workflows/tests.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,38 @@ on:
88

99
jobs:
1010
tests:
11+
runs-on: ubuntu-22.04
1112

12-
runs-on: ubuntu-18.04
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [7.2, 7.3, 7.4, 8.0, 8.1]
17-
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
16+
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
17+
laravel: [^6.0, ^7.0, ^8.0, ^9.0, ^10.0]
1818
exclude:
1919
- php: 7.2
2020
laravel: ^8.0
2121
- php: 7.2
2222
laravel: ^9.0
23+
- php: 7.2
24+
laravel: ^10.0
2325
- php: 7.3
2426
laravel: ^9.0
27+
- php: 7.3
28+
laravel: ^10.0
2529
- php: 7.4
2630
laravel: ^9.0
31+
- php: 7.4
32+
laravel: ^10.0
33+
- php: 8.0
34+
laravel: ^10.0
2735
- php: 8.1
2836
laravel: ^6.0
2937
- php: 8.1
3038
laravel: ^7.0
39+
- php: 8.2
40+
laravel: ^6.0
41+
- php: 8.2
42+
laravel: ^7.0
3143

3244
name: P${{ matrix.php }} - L${{ matrix.laravel }}
3345

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"php": "^7.2|^8.0",
2121
"ext-zip": "*",
2222
"guzzlehttp/guzzle": "^6.3|^7.0",
23-
"illuminate/container": "^6.0|^7.0|^8.0|^9.0",
24-
"illuminate/filesystem": "^6.0|^7.0|^8.0|^9.0",
25-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
23+
"illuminate/container": "^6.0|^7.0|^8.0|^9.0|^10.0",
24+
"illuminate/filesystem": "^6.0|^7.0|^8.0|^9.0|^10.0",
25+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
2626
"league/flysystem": "^1.0|^3.0",
2727
"league/flysystem-aws-s3-v3": "^1.0|^3.0",
2828
"ramsey/uuid": "^3.8|^4.0",

phpunit.xml.dist

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
convertErrorsToExceptions="true"
88
convertNoticesToExceptions="true"
99
convertWarningsToExceptions="true"
10+
convertDeprecationsToExceptions="true"
1011
processIsolation="false"
1112
stopOnFailure="false"
1213
>
@@ -15,9 +16,4 @@
1516
<directory>tests</directory>
1617
</testsuite>
1718
</testsuites>
18-
<filter>
19-
<whitelist>
20-
<directory suffix=".php">src/</directory>
21-
</whitelist>
22-
</filter>
2319
</phpunit>

0 commit comments

Comments
 (0)