Skip to content

Commit c979e45

Browse files
Added Laravel 11 support
1 parent 670b898 commit c979e45

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

.github/workflows/phpunit.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,39 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [ "8.0", "8.1", "8.2" ]
13-
laravel: [ "6.0", "7.0", "8.0", "9.0", "10.0" ]
12+
php: [ "8.0", "8.1", "8.2", "8.3" ]
13+
laravel: [ "6.0", "7.0", "8.0", "9.0", "10.0", "11.0" ]
1414
exclude:
1515
- laravel: "6.0"
1616
php: "8.1"
1717

1818
- laravel: "6.0"
1919
php: "8.2"
2020

21+
- laravel: "6.0"
22+
php: "8.3"
23+
2124
- laravel: "7.0"
2225
php: "8.1"
2326

2427
- laravel: "7.0"
2528
php: "8.2"
2629

30+
- laravel: "7.0"
31+
php: "8.3"
32+
2733
- laravel: "9.0"
28-
php: "7.4"
34+
php: "8.3"
2935

3036
- laravel: "10.0"
31-
php: "7.4"
37+
php: "8.0"
3238

33-
- laravel: "10.0"
39+
- laravel: "11.0"
3440
php: "8.0"
3541

42+
- laravel: "11.0"
43+
php: "8.1"
44+
3645
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
3746

3847
steps:
@@ -47,7 +56,7 @@ jobs:
4756
with:
4857
php-version: ${{ matrix.php }}
4958
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
50-
coverage: none
59+
coverage: xdebug
5160

5261
- name: Install dependencies
5362
run: composer require --dev laravel/framework:^${{ matrix.laravel }}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"php": "^8.0",
4141
"dragon-code/contracts": "^2.21",
4242
"dragon-code/support": "^6.11.3",
43-
"illuminate/support": ">=6.0 <11.0"
43+
"illuminate/support": ">=6.0 <12.0"
4444
},
4545
"require-dev": {
4646
"dragon-code/simple-dto": "^2.3",
4747
"nesbot/carbon": "^2.62",
48-
"orchestra/testbench": ">=4.0 <9.0",
49-
"phpunit/phpunit": "^8.5 || ^9.6"
48+
"orchestra/testbench": ">=4.0 <10.0",
49+
"phpunit/phpunit": "^8.5 || ^9.6 || ^10.0"
5050
},
5151
"conflict": {
5252
"andrey-helldar/cache": "*"

phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
bootstrap="vendor/autoload.php"
88
colors="true"
99
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
10+
convertNoticesToExceptions="false"
11+
convertWarningsToExceptions="false"
1212
processIsolation="false"
1313
stopOnError="false"
1414
stopOnFailure="false"

0 commit comments

Comments
 (0)