Skip to content

Commit c9ef4f5

Browse files
committed
Laravel 12.x Support
1 parent 2c2b9c7 commit c9ef4f5

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
16-
laravel: [ 11.*, 10.*, 9.*, 8.*, 7.* ]
16+
laravel: [12.*, 11.*, 10.*, 9.*, 8.*, 7.*]
1717
include:
18+
- laravel: 12.*
19+
testbench: 10.*
1820
- laravel: 11.*
1921
testbench: 9.*
2022
- laravel: 10.*
@@ -26,6 +28,12 @@ jobs:
2628
- laravel: 7.*
2729
testbench: 5.*
2830
exclude:
31+
- laravel: 12.*
32+
php: 8.1
33+
- laravel: 12.*
34+
php: 8.0
35+
- laravel: 12.*
36+
php: 7.4
2937
- laravel: 11.*
3038
php: 8.1
3139
- laravel: 11.*
@@ -71,11 +79,11 @@ jobs:
7179

7280
- name: Install dependencies
7381
run: |
74-
composer require "illuminate/console:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "nesbot/carbon:^2.62.1" --no-interaction --no-update
82+
composer require "illuminate/console:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "nesbot/carbon:>=2.72.6" --no-interaction --no-update
7583
composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update
7684
composer update --prefer-dist --no-interaction --no-suggest
7785
7886
- name: Execute tests
7987
run: |
8088
vendor/bin/phpunit
81-
vendor/bin/phpunit tests/Unit/AuditTest.php --group command-line-url-resolver
89+
vendor/bin/phpunit tests/Unit/AuditTest.php --group command-line-url-resolver

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Thank you for choosing OwenIt\LaravelAuditing!
2626

2727
Version | Illuminate | Status | PHP Version
2828
:----------|:---------------|:------------------------|:------------
29-
13.x | 7.x.x - 11.x.x | Active support :rocket: | > = 7.3 \| 8.0
29+
13.x | 7.x.x - 12.x.x | Active support :rocket: | > = 7.3 \| 8.0
3030
12.x | 6.x.x - 9.x.x | End of life | > = 7.3 \| 8.0
3131
11.x | 5.8.x - 8.x.x | End of life | > = 7.3
3232
10.x | 5.8.x - 7.x.x | End of life | > = 7.2.5

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
],
4141
"require": {
4242
"php": "^7.3|^8.0",
43-
"illuminate/console": "^7.0|^8.0|^9.0|^10.0|^11.0",
44-
"illuminate/database": "^7.0|^8.0|^9.0|^10.0|^11.0",
45-
"illuminate/filesystem": "^7.0|^8.0|^9.0|^10.0|^11.0",
43+
"illuminate/console": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
44+
"illuminate/database": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
45+
"illuminate/filesystem": "^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
4646
"ext-json": "*"
4747
},
4848
"require-dev": {
4949
"phpunit/phpunit": "^9.6|^10.5|^11.0",
5050
"mockery/mockery": "^1.0",
51-
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
51+
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
5252
"laravel/legacy-factories": "*"
5353
},
5454
"autoload": {

0 commit comments

Comments
 (0)