Skip to content

Commit 678457b

Browse files
committed
Use larastan/larastan
1 parent 94ae3b4 commit 678457b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
},
1717
"require-dev": {
1818
"orchestra/testbench": "^8.0",
19-
"nunomaduro/larastan": "^1.0 || ^2.0",
2019
"thecodingmachine/phpstan-safe-rule": "^1.2",
2120
"laravel/legacy-factories": "^1.3",
22-
"laravel/pint": "^1.13"
21+
"laravel/pint": "^1.13",
22+
"larastan/larastan": "^2.9"
2323
},
2424
"autoload": {
2525
"psr-4": {
@@ -45,6 +45,12 @@
4545
"l10": [
4646
"composer require laravel/framework:10.* orchestra/testbench:8.* --no-interaction --no-update",
4747
"composer update --prefer-stable --prefer-dist --no-interaction"
48+
],
49+
"pint": [
50+
"pint"
51+
],
52+
"larastan": [
53+
"@php -d memory_limit=-1 vendor/bin/phpstan"
4854
]
4955
}
5056
}

phpstan.neon

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
- ./vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
44
parameters:
55
paths:

0 commit comments

Comments
 (0)