Skip to content

Commit 20e38cc

Browse files
committed
Update composer.json and phpstan.neon.dist for Laravel 12 compatibility and improved dependency management
1 parent d33e0d1 commit 20e38cc

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"allow": [
44
"Bash(composer require:*)",
55
"Bash(composer update:*)",
6-
"Bash(composer test:*)"
6+
"Bash(composer test:*)",
7+
"Bash(composer analyse:*)"
78
],
89
"deny": [],
910
"ask": []

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@
2222
"spatie/laravel-package-tools": "^1.14"
2323
},
2424
"require-dev": {
25-
"larastan/larastan": "^2.9",
25+
"laravel/framework": "12.*",
2626
"laravel/pint": "^1.6",
2727
"nunomaduro/collision": "^7.0|^8.0",
28-
"orchestra/testbench": "^8.0|^9.0",
28+
"orchestra/testbench": "10.*",
2929
"pestphp/pest": "^2.0|^3.0",
3030
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
3131
"phpstan/extension-installer": "^1.1",
32-
"phpstan/phpstan-deprecation-rules": "^1.0",
33-
"phpstan/phpstan-phpunit": "^1.0",
32+
"phpstan/phpstan": "^1.10|^2.0",
33+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
34+
"phpstan/phpstan-phpunit": "^1.0|^2.0",
3435
"phpunit/phpunit": "^9.5|^10.0|^11.0",
3536
"spatie/laravel-ray": "^1.26"
3637
},

phpstan.neon.dist

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ parameters:
88
- config
99
- database
1010
tmpDir: build/phpstan
11-
checkOctaneCompatibility: true
12-
checkModelProperties: true
13-
checkMissingIterableValueType: false
11+
excludePaths:
12+
- vendor
1413

0 commit comments

Comments
 (0)