Skip to content

Commit 58d9e0f

Browse files
Merge pull request #36 from TheDragonCode/andrey-helldar-patch-1
Added Laravel 12 support
2 parents ba1a58a + b93a259 commit 58d9e0f

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

.github/workflows/phpunit.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [ "8.0", "8.1", "8.2", "8.3" ]
13-
laravel: [ "7.0", "8.0", "9.0", "10.0", "11.0" ]
12+
php: [ "8.0", "8.1", "8.2", "8.3", "8.4" ]
13+
laravel: [ "7.0", "8.0", "9.0", "10.0", "11.0", "12.0" ]
1414
exclude:
1515
- laravel: "7.0"
1616
php: "8.1"
@@ -21,9 +21,21 @@ jobs:
2121
- laravel: "7.0"
2222
php: "8.3"
2323

24+
- laravel: "7.0"
25+
php: "8.4"
26+
27+
- laravel: "8.0"
28+
php: "8.3"
29+
2430
- laravel: "8.0"
31+
php: "8.4"
32+
33+
- laravel: "9.0"
2534
php: "8.3"
2635

36+
- laravel: "9.0"
37+
php: "8.4"
38+
2739
- laravel: "10.0"
2840
php: "8.0"
2941

@@ -33,6 +45,12 @@ jobs:
3345
- laravel: "11.0"
3446
php: "8.1"
3547

48+
- laravel: "12.0"
49+
php: "8.0"
50+
51+
- laravel: "12.0"
52+
php: "8.1"
53+
3654
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
3755

3856
steps:

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
"php": "^8.0",
3737
"dragon-code/contracts": "^2.6",
3838
"dragon-code/support": "^6.1",
39-
"illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
40-
"illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
39+
"illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
40+
"illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
4141
"phpdocumentor/reflection-docblock": "^5.0"
4242
},
4343
"require-dev": {
4444
"mockery/mockery": "^1.0",
45-
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
46-
"phpunit/phpunit": "^9.6 || ^10.0"
45+
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
46+
"phpunit/phpunit": "^9.6 || ^10.0 || ^11.0 || ^12.0"
4747
},
4848
"conflict": {
4949
"andrey-helldar/laravel-routes-core": "*",
@@ -71,4 +71,4 @@
7171
"preferred-install": "dist",
7272
"sort-packages": true
7373
}
74-
}
74+
}

phpunit.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
<include>
1919
<directory suffix=".php">./src</directory>
2020
</include>
21-
<report>
22-
<clover outputFile="build/logs/clover.xml"/>
23-
<html outputDirectory="build/logs/coverage"/>
24-
<text outputFile="build/logs/coverage.txt"/>
25-
</report>
2621
</coverage>
2722
<php>
2823
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>

0 commit comments

Comments
 (0)