Skip to content

Commit 4bbb699

Browse files
authored
feat: add support for laravel 12 (#77)
* Update composer.json * add laravel 12 test * Update composer.json * Update run-tests.yml * Update composer.json * Update composer.json
1 parent bc1862d commit 4bbb699

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
1616
php: [8.1, 8.2]
17-
laravel: [10.*, 11.*]
17+
laravel: [10.*, 11.*, 12.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 10.*
@@ -23,9 +23,14 @@ jobs:
2323
- laravel: 11.*
2424
testbench: 9.*
2525
carbon: ^2.72.2
26+
- laravel: 12.*
27+
testbench: 10.*
28+
carbon: ^3.8.4
2629
exclude:
2730
- laravel: 11.*
2831
php: 8.1
32+
- laravel: 12.*
33+
php: 8.1
2934

3035
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3136

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^8.1",
2020
"guzzlehttp/guzzle": "^7.5",
21-
"illuminate/contracts": "^9.0|^10.0|^11.0",
21+
"illuminate/contracts": "^9.0|^10.0|^11.0|^12.0",
2222
"j0k3r/php-readability": "^2.0",
2323
"jeremykendall/php-domain-parser": "^6.3",
2424
"spatie/browsershot": "^3.0|^4.0|^5.0",
@@ -30,14 +30,14 @@
3030
"require-dev": {
3131
"laravel/pint": "^1.0",
3232
"nunomaduro/collision": "^6.0|^7.0|^8.0",
33-
"nunomaduro/larastan": "^2.0.1",
33+
"nunomaduro/larastan": "^2.0.1|^3.1",
3434
"orchestra/testbench": "^7.0|^8.0|^9.0",
35-
"pestphp/pest": "^1.0|^2.34",
36-
"pestphp/pest-plugin-laravel": "^1.0|^2.3",
37-
"phpstan/extension-installer": "^1.1",
38-
"phpstan/phpstan-deprecation-rules": "^1.0",
39-
"phpstan/phpstan-phpunit": "^1.0",
40-
"phpunit/phpunit": "^9.5|^10.0"
35+
"pestphp/pest": "^1.0|^2.34|^3.0",
36+
"pestphp/pest-plugin-laravel": "^1.0|^2.3|^3.0",
37+
"phpstan/extension-installer": "^1.4",
38+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
39+
"phpstan/phpstan-phpunit": "^1.0|^2.0",
40+
"phpunit/phpunit": "^9.5|^10.0|^11.0"
4141
},
4242
"autoload": {
4343
"psr-4": {

0 commit comments

Comments
 (0)