Skip to content

Commit a194fda

Browse files
authored
Implement Laravel 11 compatibility (#8)
* feat: implement Laravel 11 compatibility * Update 2 files * Update phpstan.neon.dist * Update tests.yml
1 parent f2b6b29 commit a194fda

File tree

6 files changed

+17
-43
lines changed

6 files changed

+17
-43
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ CHANGELOG.md export-ignore
1212
phpstan.neon.dist export-ignore
1313
phpunit.xml.dist export-ignore
1414
RELEASE.md export-ignore
15+
/phpunit.xml export-ignore
16+
phpunit.dist.xml export-ignore
17+
.phpunit.result.cache export-ignore
18+
.php-cs-fixer.cache export-ignore
19+
/workbench
20+
testbench.yaml export-ignore
21+

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [ 8.1, 8.2 ]
15+
php: [ 8.1, 8.2, 8.3 ]
1616

1717
name: PHP ${{ matrix.php }}
1818
env:

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
php: [ 8.1, 8.2 ]
16-
laravel: [ 9, 10 ]
15+
php: [ 8.1, 8.2, 8.3 ]
16+
laravel: [ 9, 10, 11 ]
17+
exclude:
18+
- php: 8.1
19+
laravel: 11
1720

1821
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
1922
env:

.php_cs.dist.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@
4040
},
4141
"require": {
4242
"php": "^8.1",
43-
"laravel/framework": "^9.0 || ^10.0"
43+
"laravel/framework": "^9.0|^10.0|^11.0"
4444
},
4545
"require-dev": {
46-
"friendsofphp/php-cs-fixer": "^3.26",
47-
"nunomaduro/larastan": "^2.0",
48-
"orchestra/testbench": "^7.0|^8.0",
46+
"larastan/larastan": "^2.0",
47+
"orchestra/testbench": "^7.0|^8.0|^9.0",
4948
"pestphp/pest": "^1.23|^2.18",
5049
"phpstan/phpstan": "^1.10"
5150
},

phpstan.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
includes:
2-
- ./vendor/nunomaduro/larastan/extension.neon
2+
- ./vendor/larastan/larastan/extension.neon
33

44
parameters:
55

0 commit comments

Comments
 (0)