Skip to content

Commit 4f486d4

Browse files
Merge pull request #33 from TheDragonCode/5.x
Added Laravel 11 support
2 parents d204d95 + 2d64662 commit 4f486d4

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

.github/workflows/phpunit.yml

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

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

21+
- laravel: "7.0"
22+
php: "8.3"
23+
24+
- laravel: "8.0"
25+
php: "8.3"
26+
2127
- laravel: "10.0"
2228
php: "8.0"
2329

30+
- laravel: "11.0"
31+
php: "8.0"
32+
33+
- laravel: "11.0"
34+
php: "8.1"
35+
2436
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
2537

2638
steps:
@@ -32,7 +44,7 @@ jobs:
3244
with:
3345
php-version: ${{ matrix.php }}
3446
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
35-
coverage: none
47+
coverage: xdebug
3648

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

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
"php": "^8.0",
4141
"dragon-code/contracts": "^2.6",
4242
"dragon-code/support": "^6.1",
43-
"illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0",
44-
"illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0",
43+
"illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
44+
"illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
4545
"phpdocumentor/reflection-docblock": "^5.0"
4646
},
4747
"require-dev": {
4848
"mockery/mockery": "^1.0",
49-
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0",
50-
"phpunit/phpunit": "^9.6"
49+
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
50+
"phpunit/phpunit": "^9.6 || ^10.0"
5151
},
5252
"conflict": {
5353
"andrey-helldar/laravel-routes-core": "*",

phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
bootstrap="phpunit.php"
77
colors="true"
88
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
9+
convertNoticesToExceptions="false"
10+
convertWarningsToExceptions="false"
1111
processIsolation="false"
1212
stopOnError="false"
1313
stopOnFailure="false"

0 commit comments

Comments
 (0)