Skip to content

Commit 15dc200

Browse files
authored
Adds support for Laravel 12 (#50)
* Adds support for Laravel 12 * allow newer testbench & phpunit * Remove no_blank_lines_between_imports from .styleci.yml as its already included in psr12 preset * Fix workflow versions * Matrix intensifies --------- Co-authored-by: Ritvars Timermanis <[email protected]>
1 parent 7a85db2 commit 15dc200

File tree

5 files changed

+29
-9
lines changed

5 files changed

+29
-9
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,28 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
php: [8.0, 8.1, 8.2, 8.3]
20-
laravel: [9.*, 10.*, 11.*]
19+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
20+
laravel: [9.*, 10.*, 11.*, 12.*]
2121
dependency-version: [prefer-lowest, prefer-stable]
2222
exclude:
2323
- laravel: 9.*
2424
php: 8.3
25+
- laravel: 9.*
26+
php: 8.4
2527
- laravel: 10.*
2628
php: 8.0
29+
- laravel: 10.*
30+
php: 8.4
2731
- laravel: 11.*
2832
php: 8.0
2933
- laravel: 11.*
3034
php: 8.1
35+
- laravel: 11.*
36+
php: 8.4
37+
- laravel: 12.*
38+
php: 8.0
39+
- laravel: 12.*
40+
php: 8.1
3141

3242
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
3343

.github/workflows/run-tests.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,28 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
php: [8.0, 8.1, 8.2, 8.3]
13-
laravel: [9.*, 10.*, 11.*]
14-
dependency-version: [prefer-lowest, prefer-stable]
12+
php: [ 8.0, 8.1, 8.2, 8.3, 8.4 ]
13+
laravel: [ 9.*, 10.*, 11.*, 12.* ]
14+
dependency-version: [ prefer-lowest, prefer-stable ]
1515
exclude:
1616
- laravel: 9.*
1717
php: 8.3
18+
- laravel: 9.*
19+
php: 8.4
1820
- laravel: 10.*
1921
php: 8.0
22+
- laravel: 10.*
23+
php: 8.4
2024
- laravel: 11.*
2125
php: 8.0
2226
- laravel: 11.*
2327
php: 8.1
28+
- laravel: 11.*
29+
php: 8.4
30+
- laravel: 12.*
31+
php: 8.0
32+
- laravel: 12.*
33+
php: 8.1
2434

2535
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2636

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
/*.cache
88
/build
99
/vendor
10+
/.idea

.styleci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ enabled:
1313
- no_blank_lines_after_phpdoc
1414
- no_blank_lines_after_return
1515
- no_blank_lines_after_throw
16-
- no_blank_lines_between_imports
1716
- no_blank_lines_between_traits
1817
- no_empty_comment
1918
- no_empty_phpdoc

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"require": {
3333
"php": "^8.0",
3434
"aws/aws-sdk-php": "^3.209",
35-
"illuminate/support": "^9.52|^10.0|^11.0",
35+
"illuminate/support": "^9.52|^10.0|^11.0|^12.0",
3636
"spatie/enum": "^3.13"
3737
},
3838
"minimum-stability": "dev",
@@ -47,8 +47,8 @@
4747
"require-dev": {
4848
"guzzlehttp/guzzle": "^7.4",
4949
"nunomaduro/larastan": "^1.0|^2.0|^3.0",
50-
"orchestra/testbench": "^7.0|^8.0|^9.0",
51-
"phpunit/phpunit": "^9.5|^10.0|^11.0",
50+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
51+
"phpunit/phpunit": "^9.5|^10.0|^11.0|^12.0",
5252
"vlucas/phpdotenv": "^5.4"
5353
}
5454
}

0 commit comments

Comments
 (0)