Skip to content

Commit f8557f2

Browse files
committed
add phpstan
1 parent 1bc9f74 commit f8557f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
}
3131
},
3232
"scripts": {
33-
"test": "./vendor/bin/pest"
33+
"test": "vendor/bin/pest",
34+
"test:type": "vendor/bin/phpstan analyse src tests --ansi --memory-limit=-1 --level=5"
3435
},
3536
"config": {
3637
"sort-packages": true,
@@ -39,6 +40,7 @@
3940
}
4041
},
4142
"require-dev": {
42-
"pestphp/pest": "^1.22"
43+
"pestphp/pest": "^1.22",
44+
"phpstan/phpstan": "^1.10"
4345
}
4446
}

0 commit comments

Comments
 (0)